public static class TestSectionCreator.ChildrenSectionTest extends TestSectionCreator.TestSection
Section.Builder<T extends Section.Builder<T>>
Modifier and Type | Field and Description |
---|---|
ChangesInfo |
mChangesInfo |
boolean |
onDataRendered |
firstFullyVisibleIndex, firstVisibleIndex, lastFullyVisibleIndex, lastVisibleIndex, refreshCalled
Modifier and Type | Method and Description |
---|---|
protected Children |
createChildren(SectionContext c)
This methods will delegate to the
GroupSectionSpec method annotated with OnCreateChildren |
protected void |
dataRendered(SectionContext c,
boolean isDataChanged,
boolean isMounted,
long uptimeMillis,
int firstVisibleIndex,
int lastVisibleIndex,
ChangesInfo changesInfo,
int globalOffset)
This method will delegate to the
Section Spec method annotated with OnDataRendered . |
protected void |
refresh(SectionContext listContext) |
protected void |
viewportChanged(SectionContext listContext,
int firstVisibleItem,
int lastVisibleItem,
int totalItemsCount,
int firstFullyVisibleItem,
int lastFullyVisibleItem) |
equals, getStateContainer, isEquivalentTo, makeShallowCopy
createStateContainer, generateUniqueGlobalKeyForChild, getChildren, getEventDispatcher, getGlobalKey, getLogTag, getParent, getScopedContext, getSimpleName, getStateContainer, isEquivalentProps, makeShallowCopy, recordEventTrigger, setChildren, setCount, setGlobalKey, setKey, setScopedContext, setStateContainer
acceptTriggerEvent, acceptTriggerEventImpl, bindService, createInitialState, createService, dataBound, dispatchLoadingEvent, dispatchOnEvent, dispatchOnEventImpl, generateChangeSet, getEventTrigger, getEventTrigger, getLoadingEventHandler, getService, getTreePropsForChildren, isDiffSectionSpec, isSectionIndexValid, newEventHandler, newEventTrigger, newEventTrigger, populateTreeProps, requestFocus, requestFocus, requestFocus, requestFocusWithOffset, requestFocusWithOffset, requestFocusWithOffset, requestSmoothFocus, requestSmoothFocus, requestSmoothFocus, shouldUpdate, transferService, transferState, unbindService, verifyChangeSet
public boolean onDataRendered
public ChangesInfo mChangesInfo
protected Children createChildren(SectionContext c)
SectionLifecycle
GroupSectionSpec
method annotated with OnCreateChildren
createChildren
in class SectionLifecycle
protected void refresh(SectionContext listContext)
refresh
in class SectionLifecycle
protected void viewportChanged(SectionContext listContext, int firstVisibleItem, int lastVisibleItem, int totalItemsCount, int firstFullyVisibleItem, int lastFullyVisibleItem)
viewportChanged
in class SectionLifecycle
protected void dataRendered(SectionContext c, boolean isDataChanged, boolean isMounted, long uptimeMillis, int firstVisibleIndex, int lastVisibleIndex, ChangesInfo changesInfo, int globalOffset)
SectionLifecycle
Section
Spec method annotated with OnDataRendered
.dataRendered
in class SectionLifecycle