Companion

object Companion

Properties

Link copied to clipboard
const val VISIBLE: Int

Functions

Link copied to clipboard
fun create(context: Context, component: Component?): LithoView

Create a new LithoView instance and initialize it with the given Component root.

fun create(context: Context, componentTree: ComponentTree): LithoView

Create a new LithoView instance and initialize it with a custom ComponentTree.

fun create(context: Context, component: Component?, controller: LithoVisibilityEventsController, lifecycleOwner: LifecycleOwner?): LithoView

fun create(context: ComponentContext, component: Component?, controller: LithoVisibilityEventsController, lifecycleOwner: LifecycleOwner?): LithoView

Creates a new LithoView and sets a new ComponentTree on it. The ComponentTree is subscribed to the given LithoVisibilityEventsController instance.