Interface | Description |
---|---|
Binder<V extends ViewGroup> |
This binder class is used to asynchronously layout Components given a list of
Component
and attaching them to a ViewGroup through the Binder.bind(ViewGroup) method. |
ChangeSetCompleteCallback |
A callback invoked when the data for a section has been dispatched to the underlying
RecyclerView.
|
ClickableSpanListener |
A listener that reacts to click and long click events on a clickable span.
|
ComponentCreator |
A provider function for a
Component . |
ComponentWarmer.Cache | |
ComponentWarmer.CacheListener | |
ComponentWarmer.ComponentTreeHolderPreparer | |
ComponentWarmer.ComponentWarmerReadyListener | |
DataDiffModelName |
Interface to provide name of the model used for tracing purposes.
|
HasPostDispatchDrawListener | |
HasStickyHeader | |
HorizontalScrollLithoView.OnScrollChangeListener |
Scroll change listener invoked when the scroll position changes.
|
LayoutHandlerFactory |
A Factory used to create
RunnableHandler s in RecyclerBinder . |
LayoutInfo |
An implementation of this interface will provide the
RecyclerBinder with all the
information about the RecyclerView layout. |
LayoutInfo.RenderInfoCollection | |
LayoutInfo.ViewportFiller |
Interface that is responsible for filling the viewport of the list with initial layouts
according to the LayoutManager.
|
LithoRecyclerView.TouchInterceptor |
Allows to override
LithoRecyclerView.onInterceptTouchEvent(MotionEvent) behavior |
LithoScrollView.OnInterceptTouchListener | |
LithoViewFactory |
A factory used to create
LithoView s in RecyclerBinder . |
MountableCharSequence |
Mountable
CharSequence that is aware when the Text component using this CharSequence is
mounted and unmounted. |
NeedsBgPaddingInfo |
Because a LayoutInfo/LayoutManager may rely on padding to generate a child measure specs, and
because padding isn't accessible in a thread-safe way, this interface gives a LayoutManager the
chance to record the RecyclerView's padding when it's attached.
|
PostDispatchDrawListener | |
RecyclerBinderAdapter | |
RecyclerBinderAdapterDelegate<T extends RecyclerBinderViewHolder> |
A delegation that is used to customize the adapter behaviour for the RecyclerView that the
RecyclerBinder uses.
|
RecyclerBinderUpdateCallback.ComponentRenderer<T> | |
RecyclerBinderUpdateCallback.OperationExecutor | |
RecyclerEventsController.OnRecyclerUpdateListener | |
RecyclerRangeTraverser |
An interface for generating traversing order for a range.
|
RecyclerRangeTraverser.Processor | |
RenderInfo | |
ScrollStateListener |
Scroll change listener invoked when the scroll position changes.
|
SectionsRecyclerView.SectionsRecyclerViewLogger |
Pass to a SectionsRecyclerView to do custom logging.
|
StickyHeaderController | |
StickyHeaderControllerFactory | |
TouchableSpanListener |
A listener that reacts to touch events on a clickable span.
|
ViewportInfo |
An implementation of this interface will provide both the
androidx.recyclerview.widget.RecyclerView 's current visible views position and the total number
of items in its androidx.recyclerview.widget.RecyclerView.Adapter . |
ViewportInfo.ViewportChanged |
Implement this interface to be notified of Viewport changes from the
Binder |
Class | Description |
---|---|
BaseRenderInfo |
Keeps the list item information that will allow the framework to understand how to render it.
|
BaseRenderInfo.Builder<T> | |
Button | |
Button.Builder | |
Card |
A component that renders a given component into a card border with shadow.
|
Card.Builder | |
CardClip |
A component that paints rounded edges to mimic a clipping operation on the component being
rendered below it.
|
CardClip.Builder | |
CardClipDrawable | |
CardShadow |
A component that is able to render the card's shadow.
|
CardShadow.Builder | |
CardShadowDrawable | |
CenterSnappingSmoothScroller |
LinearSmoothScroller subclass that snaps the target position to center.
|
ClearFocusEvent |
Event sent to TextEdit to clear focus.
|
ComponentRenderInfo |
RenderInfo that can render components. |
ComponentRenderInfo.Builder | |
ComponentTreeHolder |
A class used to store the data backing a
RecyclerBinder . |
ComponentTreeHolder.Builder | |
ComponentWarmer |
Pool for pre-computing and storing ComponentTrees.
|
CustomSpeedLinearSnapHelper |
Implementation of the
LinearSnapHelper supporting hscroll custom target child view |
DispatchKeyEvent | |
EdgeSnappingSmoothScroller |
LinearSmoothScroller subclass that snaps the target position to start/end or either ends.
|
EditorActionEvent |
Event sent by EditText when the return key is pressed or the IME signals an 'action'.
|
EditText | Deprecated |
EditText.Builder | |
GetLineCountEvent |
Use this with TextInput to get the field's current line count.
|
GetTextEvent |
Use this with TextInput to get the field's current text.
|
GridLayoutInfo | |
HorizontalScroll |
A component that wraps another component and allow it to be horizontally scrollable.
|
HorizontalScroll.Builder | |
HorizontalScrollEventsController |
A controller that can be passed as
Prop to a HorizontalScrollSpec to trigger events from outside the component hierarchy. |
HorizontalScrollLithoView |
Extension of
HorizontalScrollView that allows to add more features needed for @HorizontalScrollSpec . |
HorizontalScrollLithoView.ScrollPosition | |
Image |
A component that is able to display drawable resources.
|
Image.Builder | |
InputConnectionEvent |
Event that corresponds to an underlying
android.widget.EditText#onCreateInputConnection(EditorInfo editorInfo).
|
InputFocusChangedEvent |
Event sent by EditText when the input focus changed by user
|
ItemSelectedEvent |
Event sent to Spinner once an item has been selected.
|
KeyPreImeEvent |
Event that corresponds to an underlying android.widget.EditText#onKeyPreIme().
|
KeyUpEvent |
Event that corresponds to an underlying android.widget.EditText#onKeyUp().
|
LayoutInfoUtils |
Utility class for calculating the wrapped height of given holders.
|
LinearLayoutInfo |
An implementation for
LayoutInfo to implement linear lists with a LinearLayoutManager . |
LinearLayoutInfo.ViewportFiller |
Simple implementation of
LayoutInfo.ViewportFiller which fills the viewport by laying
out items sequentially. |
LithoRecyclerView |
Extension of
RecyclerView that allows to add more features needed for @RecyclerSpec |
LithoScrollView |
Extension of
NestedScrollView that allows to add more features needed for @VerticalScrollSpec . |
LithoScrollView.ScrollPosition | |
LongClickableSpan |
Extension of
ClickableSpan that provides longclick capability in addition to click. |
MaterialTextInputColorStateList |
A
ColorStateList for EditText properties that provides an equals(..)
method so that it can be used MaterialTextInput.textColorStateList(..) . |
Progress |
Renders an infinitely spinning progress bar.
|
Progress.Builder | |
ProgressView | |
PTRRefreshEvent |
An event that is triggered when a pull-to-refresh action is performed.
|
Recycler |
Components that renders a
RecyclerView . |
Recycler.Builder | |
RecyclerBinder |
This binder class is used to asynchronously layout Components given a list of
Component
and attaching them to a RecyclerSpec . |
RecyclerBinder.Builder | |
RecyclerBinder.RecyclerViewLayoutManagerOverrideParams | |
RecyclerBinderOperationExecutor |
An implementation of
RecyclerBinderUpdateCallback.OperationExecutor that uses RecyclerBinder . |
RecyclerBinderUpdateCallback<T> |
An implementation of
ListUpdateCallback that generates the relevant Component s
when an item is inserted/updated. |
RecyclerBinderUpdateCallback.ComponentContainer | |
RecyclerBinderUpdateCallback.Operation | |
RecyclerBinderViewHolder |
The ViewHolder that hosts LithoView used by
RecyclerBinder |
RecyclerEventsController |
An controller that can be passed as
Prop to a Recycler
component to trigger events from outside the component hierarchy. |
ReMeasureEvent |
An event that a
RecyclerBinder can trigger to notify the Recycler that it should
re-measure. |
RenderInfoDebugInfoRegistry |
Holds a mapping of Views inside a Litho hierarchy to related debugging information.
|
RenderInfoViewCreatorController |
Helper class to keep track of the different view types that we're rendering using ViewRenderInfo.
|
ReplaceTextEvent |
Replaces the text input text from startIndex to endIndex with the given text.
|
RequestFocusEvent |
Event sent to TextEdit to request focus.
|
SectionsDebug |
Utilities for sections debugging.
|
SectionsRecyclerView |
Wrapper that encapsulates all the features
RecyclerSpec provides such as sticky header
and pull-to-refresh |
SelectionChangedEvent |
Event sent by EditText when the selection (particular case: cursor position) gets changed by user
|
SetSelectionEvent |
Use this with TextInput to set the field's current selection.
|
SetTextEvent |
Use this with TextInput to set the field's current text.
|
SizeSpecMountWrapperComponent |
A
MountSpec implementation to provide width and height information to the wrapped
component. |
SizeSpecMountWrapperComponent.Builder | |
SnapUtil |
Utility class containing snapping related behavior of
RecyclerView . |
SolidColor |
A component that renders a solid color.
|
SolidColor.Builder | |
Spinner |
A simple spinner (dropdown) component.
|
Spinner.Builder | |
StaggeredGridLayoutHelper | |
StaggeredGridLayoutInfo |
An implementation for
LayoutInfo to implement staggered grids with a StaggeredGridLayoutManager . |
StartSnapHelper | |
SynchronizedTypefaceHelper | |
TestImageConditions |
Helpers to match against
TestImageSpec . |
Text |
Component to render text.
|
Text.Builder | |
TextChangedEvent |
Event sent by EditText when the text entered by the user changes.
|
TextDrawable |
A
Drawable for mounting text content from a Component . |
TextInput |
Component that renders an editable text input using an android
EditText . |
TextInput.Builder | |
TextOffsetOnTouchEvent |
Text component should implement an event of this type in order to receive callback on what was
the text offset when text was touched initially.
|
TextStylesHelper | |
TextureWarmer |
A class that schedules a background draw of a
Layout or Drawable . |
TextureWarmer.WarmDrawable | |
TouchableFeedback |
A Component that can wrap another component to add touch feedback via a RippleDrawable
background.
|
TouchableFeedback.Builder | |
TransparencyEnabledCard | Deprecated |
TransparencyEnabledCard.Builder | |
TransparencyEnabledCardClip |
A component that paints a card with rounded edges to perform a clipping operation on the
component being rendered below it.
|
TransparencyEnabledCardClip.Builder | |
TransparencyEnabledCardClipDrawable | |
TreePropsWrappedRenderInfo |
A wrapper around
RenderInfo that also stores TreeProps used for rendering the component. |
VerticalScroll |
Component that wraps another component, allowing it to be vertically scrollable.
|
VerticalScroll.Builder | |
VerticalScrollEventsController |
A controller that can be passed as
Prop to a VerticalScrollSpec to trigger events from outside the component hierarchy. |
ViewRenderInfo |
RenderInfo that can render views. |
ViewRenderInfo.Builder |
Enum | Description |
---|---|
EditTextStateUpdatePolicy |
EditTextStateUpdatePolicy specifies when EditText component should update its internal input
state
|
LithoRecyclerView.TouchInterceptor.Result | |
SmoothScrollAlignmentType | |
TextAlignment |
Enumeration of text alignment values.
|
VerticalGravity |
Enum for setting vertical gravity of a component.
|
Annotation Type | Description |
---|---|
ComponentTreeHolder.RenderState | |
RecyclerBinder.CommitPolicy |
Defines when a batch should be committed: - IMMEDIATE: Commit batches to the RecyclerView as
soon as possible.
|
SnapUtil.SnapMode | |
ViewportInfo.State |