Interface | Description |
---|---|
ListEventsHandler<QueryParams> |
An interface used by sections to interact with their data-fetching services.
|
LoadEventsHandler |
An interface used by a
Section to notify its users of the status
of the connection while loading new items. |
RequestFocusAnnouncer.Focuser<T> | |
SectionLifecycle.StateContainer | |
SectionLifecycle.StateUpdate | |
SectionTree.Target |
The class implementing this interface will be responsible to translate the ChangeSet into
UI updates.
|
Class | Description |
---|---|
BaseLoadEventsHandler |
An empty implementation of
LoadEventsHandler |
Change |
A Change represent a single operation in a section's
ChangeSet . |
ChangeSet |
A ChangeSet represent a list of Change that has to be applied to a
SectionTree.Target as the result of an update of a
Section . |
ChangeSetState |
ChangeSetState is responsible to generate a global ChangeSet between two
Section s
trees. |
Children |
Utility class that represents the children of a
GroupSectionSpec . |
Children.Builder | |
LoadingEvent |
Sections should implement this method to receive events about their children's loading state.
|
Logger | |
RequestFocusAnnouncer<T> |
Pass this down as a
Prop and use it in your implementation
of com.facebook.litho.sections.annotations.OnDataBound to bind the focuser when you want to
trigger a requestFocus() from outside the Sections hierarchy. |
Section<L extends SectionLifecycle> |
Represents a unique instance of a
Section that is driven by its matching
SectionLifecycle . |
Section.Builder<L extends SectionLifecycle,T extends Section.Builder<L,T>> |
A builder to build a Section with a
SectionLifecycle L. |
SectionContext | |
SectionLifecycle | |
SectionLifecycleTestUtil |
A utility elevating some of the visibility constraints internal classes, including
SectionLifecycle , SectionContext and Section to ease testing. |
SectionTree |
Represents a tree of
Section and manages their lifecycle. |
SectionTree.Builder |
A builder class that can be used to create a
SectionTree . |
SectionTreeLoadingEventHandler |
Enum | Description |
---|---|
FocusType |
Can be used for requesting focus to a part of a Section.
|
LoadingEvent.LoadingState |