Interface | Description |
---|---|
AnimatableItem |
Interface used to expose a limited API of
LayoutOutput to the animations package. |
CommonProps |
Common props that are accessible outside of the framework.
|
ComponentLayout |
Represents a
Component 's computed layout state. |
ComponentLifecycle.RenderData |
A per-Component-class data structure to keep track of some of the last mounted @Prop/@State
params a component was rendered with.
|
ComponentLifecycle.StateUpdate | |
ComponentLifecycle.TransitionContainer |
Generated component's state container could implement this interface along with
StateContainer when componentspec specifies state update method with OnUpdateStateWithTransition annotation. |
ComponentsLogger |
An interface for logging events and performance events in litho as well as in user defined
components.
|
ComponentsReporter.Reporter | |
ComponentsSystrace.ArgsBuilder |
Object that accumulates arguments.
|
ComponentsSystrace.Systrace | |
ComponentTree.MeasureListener | |
ComponentTree.NewLayoutStateReadyListener |
Listener that will be notified when a new LayoutState is computed and ready to be committed to
this ComponentTree.
|
DebugComponent.Overrider | |
DeprecatedLithoTooltip |
Defines a tooltip that can be passed to the ComponentTree to be anchored to a component.
|
Equivalence<T> |
Equivalence is a Component/Section concept to have a custom equal-like method.
|
EventDispatcher |
A class implementing this interface will expose a method to dispatch an
Event given an EventHandler . |
EventTriggerTarget |
A class implementing this interface wll expose a method annotated with
OnTrigger to accept an
Event given an EventTrigger |
FrameworkLogEvents |
Set of events and event params logged by the framework if a
ComponentsLogger was
supplied to the ComponentContext used to create the tree. |
HasEventDispatcher |
A class implementing this interface will expose a method to retrieve an
EventDispatcher . |
HasEventTrigger |
A class implementing this interface will expose a method to record all the
EventTrigger
into a EventTriggersContainer |
HasLithoViewChildren |
An interface that a mountable view can extend which informs that this mountable content has other
LithoView children.
|
ImageContent |
A UI element that contains simple resource drawables.
|
LayoutHandler |
the Layout handler is responsible for scheduling layout computations on a
ComponentTree . |
LithoTooltip | |
LithoView.LayoutManagerOverrideParams |
LayoutParams that override the LayoutManager.
|
LithoView.OnDirtyMountListener | |
LithoView.OnPostDrawListener | |
MountContentPool<T> |
A pool dedicated to recycling mount content.
|
NodeConfig.InternalNodeFactory | |
NodeConfig.YogaNodeFactory | |
PerfEvent |
A logging event created through
ComponentsLogger.newPerformanceEvent(int) to track
performance metrics in the framework. |
PoolWithDebugInfo |
A object pool that has debug info for display in tools like Stetho.
|
RootWrapperComponentFactory |
Takes a component and returns a new component that it is wrapped in.
|
StateContainer |
Implemented by the class used to store state within both Components and Sections to store state.
|
TextContent |
A UI element that contains text.
|
Touchable |
Any interface for mounted items that need to capture motion events from its
ComponentHost . |
Transition.TransitionAnimator |
Class that knows how to create a
TransitionAnimationBinding given a
PropertyAnimation . |
TransitionManager.OnAnimationCompleteListener |
A listener that will be invoked when a mount content has stopped animating.
|
WorkingRange |
Class | Description |
---|---|
AccessibilityRole |
A list of all roles used for accessibility.
|
AccessibilityUtils | |
AlphaHelper | |
AnimationsDebug |
Utilities for animations debug.
|
ArrayBatchAllocator | |
BaseComponentsLogger |
Base implementation of
ComponentsLogger which handles pooling event objects. |
BaseMatcher<T extends BaseMatcher<T>> |
Base class used to share common properties used in TestSpec builders.
|
BaseMatcherBuilder | |
BenchmarkTestHelper |
Helper class to access Litho internals for benchmark testing.
|
Border |
Represents a collection of attributes that describe how a border should be applied to a layout
|
Border.Builder | |
BoundaryWorkingRange |
An implementation of working range that uses offset to define the upper bound and the lower
boundary.
|
BoundsHelper | |
ClickEvent |
Components should implement an event of this type in order to receive Android click events.
|
Column |
A
Component that renders its children in a column. |
Column.Builder | |
CommonUtils | |
Component |
Represents a unique instance of a component.
|
Component.Builder<T extends Component.Builder<T>> | |
Component.ContainerBuilder<T extends Component.ContainerBuilder<T>> | |
ComponentContext |
A Context subclass for use within the Components framework.
|
ComponentHost |
A
ViewGroup that can host the mounted state of a Component . |
ComponentKeyUtils | |
ComponentLifecycle |
ComponentLifecycle is extended by the Component class and declare
methods used by a Component instances to calculate their layout bounds
and mount elements, among other things. |
ComponentLogParams |
Data class for params used to log error in LithoView.
|
ComponentsLifecycles |
Callbacks that must be invoked to avoid leaking memory if using Components
below ICS (API level 14).
|
ComponentsPools |
Pools of recycled resources.
|
ComponentsReporter |
This is intended as a hook into
android.util.Log , but allows you to provide your own
functionality. |
ComponentsSystrace |
This is intended as a hook into
android.os.Trace , but allows you to provide your own
functionality. |
ComponentTree |
Represents a tree of components and controls their life cycle.
|
ComponentTree.Builder |
A builder class that can be used to create a
ComponentTree . |
ComponentTreeDumpingHelper |
Helper class in charge of dumping the component hierarchy related to a provided
ComponentContext |
ComponentUtils | |
ContextUtils | |
DebugComponent |
A DebugComponent represents a node in Litho's component hierarchy.
|
DebugComponentDescriptionHelper |
Describes
DebugComponent s for use in testing and debugging. |
DebugLayoutNode |
A DebugLayoutNode is a wrapper around InternalNode which allows debug tools to inspect and mutate
internal nodes without making InternalNode a public class.
|
DebugOverlayDrawable |
Based on the content of the
#mainThreadCalculations draws a row of columns starting from
the top left corner with text representing the number of columns. |
DefaultComponentsReporter | |
DefaultComponentsSystrace | |
DefaultMountContentPool |
The default
MountContentPool used for mount content unless your MountSpec
implements @OnCreateMountContentPool. |
DelayTransitionSet |
A
TransitionSet that, however, designed to have exactly one transition child to which the
specified apply would be applied |
DelegatingEventHandler<E> |
An event handler that takes two event handlers and calls both of them when an event is
dispatched.
|
Diff<T> |
Represents a diff between two values T.
|
DisabledMountContentPool |
A MountContentPool that has no size and doesn't recycle objects.
|
DispatchPopulateAccessibilityEventEvent |
Components should implement an event of this type in order to receive callbacks to
View#dispatchPopulateAccessibilityEvent(AccessibilityEvent) |
DoubleMeasureFixUtil | |
DrawableMatrix |
Static class containing a factory method for creating a matrix to apply to a drawable.
|
Edges | |
ErrorBoundariesConfiguration |
Temporary internal settings augmenting
ComponentsConfiguration . |
ErrorEvent |
An event used internally to propagate exceptions up the hierarchy.
|
EventHandler<E> | |
EventHandlersController |
Manages the mapping of event handlers to dispatchers.
|
EventHandlersController.EventHandlersWrapper |
Used to hold a dispatcher's event handlers.
|
EventTrigger<E> |
Allows a top-down communication with a component and its immediate parent.
|
EventTriggersContainer |
Keeps all valid instances of
EventTrigger from the hierarchy when the layout is completed |
FastMath |
Implements some math functions in a faster way than the java Math package.
|
FocusChangedEvent |
Event triggered when focus changes on a Component.
|
FocusedVisibleEvent |
Event triggered when a Component enters the Focused Range.
|
FullImpressionVisibleEvent |
Event triggered when a Component enters the Full Impression Range.
|
HotswapManager |
A manager for Litho's hotswap capability.
|
InterceptTouchEvent |
Components should implement an event of this type in order to intercept Android touch events.
|
InvisibleEvent |
Event triggered when a Component becomes invisible.
|
KeyHandler |
This class manages the
Component s global keys for a ComponentTree . |
LayoutPriorityThreadPoolExecutor |
A ThreadPoolExecutor that schedules tasks based on priority.
|
LayoutPriorityThreadPoolExecutor.ComparableFutureTask<T> | |
LayoutThreadPoolConfigurationImpl |
Configures a thread pool used for layout calculations.
|
LayoutThreadPoolConfigurationImpl.Builder | |
LayoutThreadPoolExecutor |
Thread pool executor implementation used to calculate layout on multiple background threads.
|
LithoDebugInfo |
A set of methods which expose internals of the framework.
|
LithoTooltipController | |
LithoView |
A
ViewGroup that can host the mounted state of a Component . |
LithoViewTestHelper |
Helper class to access metadata from
LithoView that is relevant during end to end
tests. |
LithoViewTestHelper.InternalNodeRef |
Holds an opaque reference to an
InternalNode without giving the holder any access to
it. |
LogTreePopulator |
This class provides utilities for extracting information through
ComponentsLogger.getExtraAnnotations(TreeProps) and transforming them so they can be logged. |
LongClickEvent |
Components should implement an event of this type in order to receive Android long click events.
|
MatrixDrawable<T extends Drawable> |
A Drawable that wraps another drawable.
|
MeasureComparisonUtils |
An utility class to verify that an old measured size is still compatible to be used with a new
measureSpec.
|
NodeConfig |
A helper class that defines a configurable sizes for ComponentsPools.
|
NoOpPerfEvent |
Empty implementation of
PerfEvent performing no actions. |
OnInitializeAccessibilityEventEvent |
Components should implement an event of this type in order to receive callbacks to
AccessibilityDelegateCompat.onInitializeAccessibilityEvent(
View, AccessibilityEvent) |
OnInitializeAccessibilityNodeInfoEvent |
Components should implement an event of this type in order to receive callbacks to
AccessibilityDelegateCompat.onInitializeAccessibilityNodeInfo(
View, AccessibilityNodeInfoCompat) |
OnPopulateAccessibilityEventEvent |
Components should implement an event of this type in order to receive callbacks to
AccessibilityDelegateCompat.onPopulateAccessibilityEvent(
View, AccessibilityEvent) |
OnRequestSendAccessibilityEventEvent |
Components should implement an event of this type in order to receive callbacks to
AccessibilityDelegateCompat.onRequestSendAccessibilityEvent(
ViewGroup, View, AccessibilityEvent) |
Output<T> |
Type for parameters that are logical outputs.
|
OutputUnitsAffinityGroup<T> | |
ParallelTransitionSet |
A
TransitionSet that runs its child transitions in parallel, optionally with a stagger. |
PerformAccessibilityActionEvent |
Components should implement an event of this type in order to receive callbacks to
View.AccessibilityDelegate |
RecyclePool<T> |
Used to recycle objects in Litho.
|
RenderCompleteEvent |
An
Event that is triggered when a component is render complete. |
RenderState |
Keeps track of the last mounted @Prop/@State a component was rendered with for components that
care about them (currently, this is just for ComponentSpecs that use
Diff 's of props in
any of their lifecycle methods). |
ResourceCache | |
ResourceResolver | |
Row |
A
Component that renders its children in a row. |
Row.Builder | |
SendAccessibilityEventEvent |
Components should implement an event of this type in order to receive callbacks to
AccessibilityDelegateCompat.sendAccessibilityEvent(View, int) |
SendAccessibilityEventUncheckedEvent |
Components should implement an event of this type in order to receive callbacks to
AccessibilityDelegateCompat.sendAccessibilityEventUnchecked(
View, AccessibilityEvent) |
SequenceTransitionSet |
A
TransitionSet that runs its child transitions in sequence, one after another. |
Size |
Public API for MeasureOutput.
|
SplitBackgroundLayoutConfiguration |
Configures what components can put their children's layout calculations on multiple background
threads.
|
SplitLayoutResolver |
Creates tasks for calculating the layout of a component's children on different threads and
commits the results to the parent's internal node when they are finished.
|
StateHandler |
Holds information about the current State of the components in a Component Tree.
|
StateValue<T> |
Used to represent the value of a Component's State.
|
TestComponentTree |
A
ComponentTree for testing purposes. |
TestComponentTree.Builder | |
TestItem |
Holds information about a
TestOutput . |
TestItem.AcquireKey | |
TestPerfEvent |
Implementation of
PerfEvent for tests. |
ThreadPoolLayoutHandler |
LayoutHandler implementation that uses a thread pool to calculate the layout.
|
ThreadTracingRunnable |
ThreadTracingRunnable tries to help debugging crashes happening across threads showing the
stacktrace of the crash origin which scheduled this runnable.
|
ThreadUtils |
Thread assertion utilities.
|
TouchEvent |
Components should implement an event of this type in order to receive Android touch events.
|
Transition |
Defines how a property on a component should animate as it changes, allowing you to optionally
define appear-from values for appear animations and disappear-to values for disappear animations.
|
Transition.AnimationTarget |
Specifies what components and properties a Transition should target.
|
Transition.AutoBoundsTransitionBuilder |
Transition builder that targets every component in the component tree whose bounds have been
changed.
|
Transition.BaseTransitionUnitsBuilder | |
Transition.ComponentTarget |
Specifies the component(s) a Transition should target.
|
Transition.PropertyTarget |
Specifies the property(s) a Transition should target.
|
Transition.SpringTransitionAnimator |
Creates spring-driven animations.
|
Transition.TimingTransitionAnimator |
Creates timing-driven animations with the given duration.
|
Transition.TransitionUnit | |
Transition.TransitionUnitsBuilder |
Transition builder that allows targeting arbitrary keys and properties.
|
TransitionId |
Represents a unique id used for transitions, that is assigned to
LayoutOutput in LayoutState based on Component 's/InternalNode 's transitionKey and
transitionKeyType, later passed on to a MountItem , and used by MountState and
TransitionManager |
TransitionManager |
Handles animating transitions defined by ComponentSpec's onCreateTransition code.
|
TransitionSet |
A set of
Transition s. |
TreeProps |
A data structure to store tree props.
|
UnfocusedVisibleEvent |
Event triggered when a Component exits the Focused Range.
|
ViewCompatComponent<V extends View> | Deprecated
ViewCompatComponent is not efficient as it will do measurement of views twice.
|
ViewCompatComponent.Builder<V extends View> | |
VisibilityChangedEvent |
Event triggered when the visible rect of a Component changes.
|
VisibleEvent |
Event triggered when a Component enters the Visible Range.
|
WorkingRangeStatusHandler |
A handler that stores the range status of components with given working range.
|
Wrapper |
Utility class for wrapping an existing
Component . |
Wrapper.Builder |
Enum | Description |
---|---|
ComponentLifecycle.MountType | |
ComponentsLogger.LogLevel | |
ComponentsReporter.LogLevel | |
RenderCompleteEvent.RenderState | |
TooltipPosition |
Specify a position to anchor a
DeprecatedLithoTooltip on a component. |
Transition.TransitionKeyType |
Annotation Type | Description |
---|---|
AccessibilityRole.AccessibilityRoleType | |
Border.Corner | |
FrameworkLogEvents.LogEventId | |
OutputUnitType | |
ThreadUtils.MainThreadOverride | |
WorkingRangeStatusHandler.WorkingRangeStatus |