AOSPLithoVisibilityEventsController
open class AOSPLithoVisibilityEventsController(val lifecycleOwner: LifecycleOwner, delegate: LithoVisibilityEventsControllerDelegate = LithoVisibilityEventsControllerDelegate()) : LithoVisibilityEventsController, LifecycleEventObserver, AOSPLifecycleOwnerProvider
This LithoVisibilityEventsController implementation dispatches to the registered observers the lifecycle state changes triggered by the provided LifecycleOwner. For example, if a Fragment is passed as param, the observers will be registered to listen to all of the fragment's lifecycle state changes.
Constructors
Link copied to clipboard
constructor(lifecycleOwner: LifecycleOwner, delegate: LithoVisibilityEventsControllerDelegate = LithoVisibilityEventsControllerDelegate())
Functions
Link copied to clipboard
Link copied to clipboard
open override fun moveToVisibilityState(newVisibilityState: LithoVisibilityEventsController.LithoVisibilityState)
Link copied to clipboard
Link copied to clipboard