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
generateUniqueGlobalKeyForChild, getChildren, getEventDispatcher, getGlobalKey, getHandle, getKey, getLogTag, getParent, getScopedContext, getSimpleName, makeShallowCopy, recordEventTrigger, setChildren, setCount, setGlobalKey, setKey, setScopedContext
acceptTriggerEvent, bindService, createInitialState, createService, dataBound, dispatchLoadingEvent, dispatchOnEvent, generateChangeSet, getEventTrigger, getEventTrigger, getLoadingEventHandler, getService, getTreePropsForChildren, isDiffSectionSpec, isSectionIndexValid, newEventHandler, newEventHandler, newEventTrigger, populateTreeProps, requestFocus, requestFocus, requestFocus, requestFocusWithOffset, requestFocusWithOffset, requestFocusWithOffset, requestSmoothFocus, requestSmoothFocus, requestSmoothFocus, shouldUpdate, transferService, transferState, unbindService
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