toggle menu
Litho
androidJvm
switch theme
search in API
litho-testing
/
com.facebook.litho.testing
/
LegacyLithoTestRule
/
setRoot
set
Root
fun
setRoot
(
component
:
Component
?
)
:
LegacyLithoTestRule
Sets the new root
Component
to render.
fun
setRoot
(
builder
:
Component.Builder
<
*
>
)
:
LegacyLithoTestRule
Sets the new root
Component.Builder
to render.