dispatchOnVisibleEvent
open fun dispatchOnVisibleEvent(context: ComponentContext, onVisibleHandler: EventHandler, component: Component): LithoView
Deprecated
Mounts the component &triggers the visibility event. Requires that the component supports incremental mounting.
com.facebook.litho.VisibleEvent
DEPRECATED: Prefer using triggerVisibilityEvent instead
Return
A LithoView with the component mounted in it.
Parameters
context
A components context
onVisibleHandler
SpecificComponent.onVisible(component)
component
The component builder which to get the subcomponent from