Sample app showing some of the gotchas and advanced topics of lifecycle on Android. Going beyond onCreate/onStart/onResume -> onPause/onStop/onDestroy lifecycle
Samples included:
- Application lifecycle
- Activity/Fragment lifecycle when showing dialogs, dialog fragments, activities, replacing fragments
- Fragment's legacy
userVisibleHint
& its replacement - ViewModel lifecycle & behaviour
- Custom LifecycleObserver
- Using ProcessLifecycleOwner
- LiveData