| 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 | |
| LayoutHandlerFactory |
A Factory used to create
LithoHandlers 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.
|
| LithoRecylerView.TouchInterceptor |
Allows to override
LithoRecylerView.onInterceptTouchEvent(MotionEvent) behavior |
| LithoViewFactory |
A factory used to create
LithoViews 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 | |
| RecyclerBinderUpdateCallback.ComponentRenderer<T> | |
| RecyclerBinderUpdateCallback.OperationExecutor | |
| RecyclerEventsController.OnRecyclerUpdateListener | |
| RecyclerRangeTraverser |
An interface for generating traversing order for a range.
|
| RecyclerRangeTraverser.Processor | |
| RenderInfo | |
| StickyHeaderController | |
| StickyHeaderControllerFactory | |
| 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> | |
| 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 | |
| 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 | |
| EmptyComponent |
A component that doesn't render anything.
|
| EmptyComponent.Builder | |
| 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. |
| 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).
|
| 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. |
| LithoRecylerView |
Extension of
RecyclerView that allows to add more features needed for @RecyclerSpec |
| LongClickableSpan |
Extension of
ClickableSpan that provides longclick capability in addition to click. |
| Progress |
Renders an infinitely spinning progress bar.
|
| Progress.Builder | |
| 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 Components
when an item is inserted/updated. |
| RecyclerBinderUpdateCallback.ComponentContainer | |
| RecyclerBinderUpdateCallback.Operation | |
| 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.
|
| 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 | |
| TransparencyEnabledCard |
[UNPERFORMANT WARNING] if you do not need to render your corners transparently please use
Card. |
| 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 | |
| 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 | |
| ViewRenderInfo |
RenderInfo that can render views. |
| ViewRenderInfo.Builder |
| Enum | Description |
|---|---|
| EditTextStateUpdatePolicy |
EditTextStateUpdatePolicy specifies when EditText component should update its internal input
state
|
| LithoRecylerView.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 |