Year 2020: Migrating from Activity to ViewModel

Picture by Chris Briggs on Unsplash

For a span of 10 years, 2007 till 2017, Android development revolved around Activity/Fragment as the heart of its development for each screen. Some developers tried to shift the logic out using MVP, MVVM etc, but Google had yet to endorse anything back then.

In 2017, Architecture Component was introduced by Google. Android now has its own specialized ViewModel. However, it was…

--

--

--

Sharing iOS, Android and relevant Mobile App Development Technology and Learning

Recommended from Medium

The 3 Best Free IPTV Apps To Watch Live on Android

Kotlin Design Patterns

Understand Gradle Dependency Resolution Easier

How to Add Scroll In Flutter Application ?

A Simple Guide to Android Product Flavors

Animating recycler view decorator

Managing Compose State Variable With And Without ViewModel

Optimize without obfuscate your debug build

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Elye

Elye

Sharing Software Development Experience, focus on Mobile. https://elye-project.medium.com/subscribe https://twitter.com/elye_project

More from Medium

Setting UserAgent in Android Webview

Lifecycle for Android Developers (Part 1)

How To Test Kotlin Coroutines?

People creating

Listening to your Android App