Fragment And View Model Watcher
class FragmentAndViewModelWatcher(application: Application, reachabilityWatcher: ReachabilityWatcher) : InstallableWatcher
Content copied to clipboard
Expects:
Fragments (Support Library, Android X and AOSP) to become weakly reachable soon after they receive the Fragment#onDestroy() callback.
Fragment views (Support Library, Android X and AOSP) to become weakly reachable soon after fragments receive the Fragment#onDestroyView() callback.
Android X view models (both activity and fragment view models) to become weakly reachable soon after they received the ViewModel#onCleared() callback.
Constructors
Link copied to clipboard
fun FragmentAndViewModelWatcher(application: Application, reachabilityWatcher: ReachabilityWatcher)
Content copied to clipboard