toggle menu
Litho
androidJvm
switch theme
search in API
litho-widget-kotlin
/
com.facebook.litho.widget.collection
/
LazyCollectionChildren
/
add
add
fun
add
(
component
:
Component
?
,
id
:
Any
?
=
null
,
isSticky
:
Boolean
=
false
,
isFullSpan
:
Boolean
=
false
,
spanSize
:
Int
?
=
null
,
onNearViewport
:
OnNearCallback
?
=
null
,
customAttributes
:
Map
<
String
,
Any
?
>
?
=
null
,
parentWidthPercent
:
Float
=
-1f
,
parentHeightPercent
:
Float
=
-1f
)
fun
add
(
id
:
Any
?
=
null
,
isSticky
:
Boolean
=
false
,
isFullSpan
:
Boolean
=
false
,
spanSize
:
Int
?
=
null
,
onNearViewport
:
OnNearCallback
?
=
null
,
deps
:
Array
<
Any
?
>
,
parentWidthPercent
:
Float
=
-1f
,
parentHeightPercent
:
Float
=
-1f
,
componentFunction
:
(
)
->
Component
?
)