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
Section Spec 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, setStateContainer
acceptTriggerEvent, 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, verifyChangeSet
protected com.facebook.litho.sections.widget.ViewPagerHelperSection.ViewPagerHelperSectionStateContainer createStateContainer()
createStateContainer
in class Section
public boolean isEquivalentProps(Section other, boolean shouldCompareCommonProps)
isEquivalentProps
in class Section
public static <T> ViewPagerHelperSection.Builder<T> create(SectionContext context)
protected void transferState(StateContainer _prevStateContainer, StateContainer _nextStateContainer)
SectionLifecycle
transferState
in class SectionLifecycle
protected void createInitialState(SectionContext c)
createInitialState
in class SectionLifecycle
protected Children createChildren(SectionContext c)
SectionLifecycle
GroupSectionSpec
method annotated with OnCreateChildren
createChildren
in class SectionLifecycle
protected void dataBound(SectionContext c)
SectionLifecycle
Section
Spec method annotated with OnDataBound
dataBound
in class SectionLifecycle
protected void viewportChanged(SectionContext c, int firstVisiblePosition, int lastVisiblePosition, int totalCount, int firstFullyVisibleIndex, int lastFullyVisibleIndex)
viewportChanged
in class SectionLifecycle