public final class ViewPagerHelperSection<T> extends Section
com.facebook.litho.sections.widget.ViewPagerHelperSectionSpec| Modifier and Type | Class and Description |
|---|---|
static class |
ViewPagerHelperSection.Builder<T> |
| Modifier and Type | Method and Description |
|---|---|
static <T> ViewPagerHelperSection.Builder<T> |
create(SectionContext context) |
protected Children |
createChildren(SectionContext c)
This methods will delegate to the
GroupSectionSpec method annotated with OnCreateChildren |
protected void |
createInitialState(SectionContext c) |
protected com.facebook.litho.sections.widget.ViewPagerHelperSection.ViewPagerHelperSectionStateContainer |
createStateContainer() |
protected void |
dataBound(SectionContext c)
This method will delegate to the
SectionSpec method annotated with OnDataBound |
boolean |
isEquivalentProps(Section other,
boolean shouldCompareCommonProps) |
protected void |
transferState(StateContainer _prevStateContainer,
StateContainer _nextStateContainer)
|
protected void |
viewportChanged(SectionContext c,
int firstVisiblePosition,
int lastVisiblePosition,
int totalCount,
int firstFullyVisibleIndex,
int lastFullyVisibleIndex) |
generateUniqueGlobalKeyForChild, getChildren, getEventDispatcher, getGlobalKey, getLogTag, getParent, getScopedContext, getSimpleName, getStateContainer, getStateContainer, isEquivalentTo, makeShallowCopy, makeShallowCopy, recordEventTrigger, setChildren, setCount, setGlobalKey, setKey, setScopedContext, setStateContaineracceptTriggerEvent, acceptTriggerEventImpl, bindService, createService, dataRendered, dispatchLoadingEvent, dispatchOnEvent, dispatchOnEventImpl, generateChangeSet, getEventTrigger, getEventTrigger, getLoadingEventHandler, getService, getTreePropsForChildren, isDiffSectionSpec, isSectionIndexValid, newEventHandler, newEventTrigger, newEventTrigger, populateTreeProps, refresh, requestFocus, requestFocus, requestFocus, requestFocusWithOffset, requestFocusWithOffset, requestFocusWithOffset, requestSmoothFocus, requestSmoothFocus, requestSmoothFocus, shouldUpdate, transferService, unbindService, verifyChangeSetprotected com.facebook.litho.sections.widget.ViewPagerHelperSection.ViewPagerHelperSectionStateContainer createStateContainer()
createStateContainer in class Sectionpublic boolean isEquivalentProps(Section other, boolean shouldCompareCommonProps)
isEquivalentProps in class Sectionpublic static <T> ViewPagerHelperSection.Builder<T> create(SectionContext context)
protected void transferState(StateContainer _prevStateContainer, StateContainer _nextStateContainer)
SectionLifecycletransferState in class SectionLifecycleprotected void createInitialState(SectionContext c)
createInitialState in class SectionLifecycleprotected Children createChildren(SectionContext c)
SectionLifecycleGroupSectionSpec method annotated with OnCreateChildrencreateChildren in class SectionLifecycleprotected void dataBound(SectionContext c)
SectionLifecycleSectionSpec method annotated with OnDataBounddataBound in class SectionLifecycleprotected void viewportChanged(SectionContext c, int firstVisiblePosition, int lastVisiblePosition, int totalCount, int firstFullyVisibleIndex, int lastFullyVisibleIndex)
viewportChanged in class SectionLifecycle