Package-level declarations
Types
LinearSmoothScroller subclass that snaps the target position to center.
A callback invoked when the data for a section has been dispatched to the underlying RecyclerView. This can happen after setRoot is called because the setRoot may be async, or we may wait for layouts to complete before inserting into the adapter.
Interface to provide name of the model used for tracing purposes.
LinearSmoothScroller subclass that snaps the target position to start/end or either ends.
EditTextStateUpdatePolicy specifies when EditText component should update its internal input state
A component that renders a given component into a card border with shadow.
A component that paints rounded edges to mimic a clipping operation on the component being rendered below it. Used in CardSpec.
A component that is able to render the card's shadow.
A component to render a Drawable.
A component that renders a solid color.
A component that paints a card with rounded edges to perform a clipping operation on the component being rendered below it. Used in CardSpec when transparencyEnabled(true).
Use this with TextInput to get the field's current text.
Event sent to TextEdit to make cursor invisible.
A controller that can be passed as com.facebook.litho.annotations.Prop to a [ ] to trigger events from outside the component hierarchy.
Creates an ItemDecoration that provides the developer a function to measure the View if the insets required depend on the measured size of the View. The measure function will use the size constraints recorded by Binder of the Recycler Component. This approach is required because the RecyclerView gets the insets from the ItemDecoration before the View is measured, so the measured size of the view is 0, and the insets would not be correct.
Mountable CharSequence that is aware when the Text component using this CharSequence is mounted and unmounted.
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.
The layout data required by the Image Primitive to mount, and bind the drawable in the host.
Renders an infinitely spinning progress bar.
Renders an infinitely spinning progress bar.
This configuration is meant to be used in the context of RecyclerBinder. It allows you to define to define specific behavior changes to the default behaviour of the RecyclerBinder.
This builder is just a helper class for Java clients.
An implementation of RecyclerBinderUpdateCallback.OperationExecutor that uses RecyclerBinder.
Event sent to TextEdit to make cursor visible.
A simple spinner (dropdown) component. Derived from the standard Android android.widget.Spinner
A Component that can wrap another component to add touch feedback via a RippleDrawable background.
Enum for setting vertical gravity of a component. Currently used to design where to vertically align text in a text component.