Open csaba-csete-87 opened 6 years ago
I guess we should keep it as: public class DetailActivity extends AppCompatActivity implements LifecycleOwner
edit: As I saw, I was wrong. But not sure about what should we do so I am also looking for an answer for this question
Since the January 22, 2018 release of Architecture components, LifecycleActivity is deprecated.
The
build.gradle
file can be updated to:and at point 4.)
Open ui.detail.DetailActivity. Have DetailActivity extend LifecycleActivity instead of AppCompatActivity.
we should just keep it AppCompatActivity