Package-level declarations
Contains tools to ease the usage and integration of Android's Lifecycle aware components.
Types
Link copied to clipboard
LifecycleAwareListeners is a container for listeners with Android Lifecycle awareness.
Link copied to clipboard
Provides access to a list of listeners with active Android Lifecycle owners from LifecycleAwareListeners.
Functions
Link copied to clipboard
A convenience function that calls onDestroy when the LifecycleOwner is destroyed.
Link copied to clipboard
Creates a LifecycleOwner and provides this to block. The LifecycleOwner is destroyed after block returns. Returns the value returned by block.