googlecodelabs / android-build-an-app-architecture-components

Other
266 stars 133 forks source link

9. Introduction to LiveData and ViewModels - LifecycleActivity #18

Open DefaultXYZ opened 6 years ago

DefaultXYZ commented 6 years ago

LifecycleActivity has been deprecated since android.arch.lifecycle libs are stable version.

Fourth step in introduction to ViewModels can be removed

mfgabriel92 commented 6 years ago

+1. Do it.

WelconeHuang commented 6 years ago

+1

KunalDhyani commented 5 years ago
  1. Introduction to LiveData and ViewModels -->Your Turn: The DetailActivityViewModel -->4.Open ui.detail.DetailActivity. Have DetailActivity extend LifecycleActivity instead of AppCompatActivity.

    :dagger: Yup! That point needs to be Removed. :dagger:


    Reason : https://stackoverflow.com/questions/23089547/difference-between-extending-lifecycleactivity-activity-actionbaractivity-appc/23090310