dispatchOnFocusedVisibleEvent

open fun dispatchOnFocusedVisibleEvent(context: ComponentContext, onFocusedVisibleHandler: EventHandler, component: Component): LithoView

Deprecated

Mounts the component &triggers the focused visibility event. Requires that the component supports incremental mounting.

com.facebook.litho.FocusedVisibleEvent

DEPRECATED: Prefer using triggerVisibilityEvent instead

Return

A LithoView with the component mounted in it.

Parameters

context

A components context

onFocusedVisibleHandler

SpecificComponent.onFocusedVisible(component)

component

The component builder which to get the subcomponent from