litho-widget-kotlin
0.47.0
litho-widget-kotlin
/
com.facebook.litho.widget.collection
/
CollectionGroupSectionSpec
Collection
Group
Section
Spec
object
CollectionGroupSectionSpec
Functions
Functions
on
Create
Children
Link copied to clipboard
@
JvmStatic
fun
onCreateChildren
(
c
:
SectionContext
?
,
childrenBuilder
:
Children.Builder
)
:
Children
on
Data
Bound
Link copied to clipboard
@
JvmStatic
fun
onDataBound
(
c
:
SectionContext
,
onDataBound
:
(
ComponentContext
)
->
Unit
?
)
on
Data
Rendered
Link copied to clipboard
@
JvmStatic
fun
onDataRendered
(
c
:
SectionContext
,
isDataChanged
:
Boolean
,
isMounted
:
Boolean
,
monoTimestampMs
:
Long
,
firstVisibleIndex
:
Int
,
lastVisibleIndex
:
Int
,
changesInfo
:
ChangesInfo
,
globalOffset
:
Int
,
onDataRendered
:
(
ComponentContext
,
Boolean
,
Boolean
,
Long
,
Int
,
Int
,
ChangesInfo
,
Int
)
->
Unit
?
)
on
Refresh
Link copied to clipboard
@
JvmStatic
fun
onRefresh
(
c
:
SectionContext
,
onPullToRefresh
:
(
)
->
Unit
?
)
on
Viewport
Changed
Link copied to clipboard
@
JvmStatic
fun
onViewportChanged
(
c
:
SectionContext
,
firstVisibleIndex
:
Int
,
lastVisibleIndex
:
Int
,
totalCount
:
Int
,
firstFullyVisibleIndex
:
Int
,
lastFullyVisibleIndex
:
Int
,
onViewportChanged
:
(
ComponentContext
,
Int
,
Int
,
Int
,
Int
,
Int
)
->
Unit
?
)