AndroidWindowVisibility
class AndroidWindowVisibility(lifecycleOwner: LifecycleOwner = ProcessLifecycleOwner.get()) : WindowVisibilityProvider(source)
Implementation of WindowVisibility for Android.
In the Android system, ProcessLifecycleOwner is used to monitor window visibility states. It notifies the window visibility state based on the lifecycle state of ProcessLifecycleOwner.
Functions
Link copied to clipboard
Registers a listener to receive events.
Link copied to clipboard
Converts this Listenable into a Flow that emits events.
Link copied to clipboard
Checks if there are any registered listeners.
Link copied to clipboard
Notifies all registered listeners about an event.
Link copied to clipboard
Unregisters a listener from receiving events.