- OnAttached - Annotation Type in com.facebook.litho.annotations
-
A method annotated with this annotation is called when the component is attached to the
ComponentTree.
- OnBind - Annotation Type in com.facebook.litho.annotations
-
A method annotation used in classes that are annotated with
MountSpec.
- OnBindDynamicValue - Annotation Type in com.facebook.litho.annotations
-
EXPERIMENTAL.
- OnBoundsDefined - Annotation Type in com.facebook.litho.annotations
-
- OnCalculateCachedValue - Annotation Type in com.facebook.litho.annotations
-
Annotation for a method on a component's spec that indicates that the method is used to calculate
a value that is cached by the component, and may be access in methods using
CachedValue.
- OnCreateInitialState - Annotation Type in com.facebook.litho.annotations
-
This annotation is used in a
LayoutSpec; the framework calls the method annotated with
OnCreateInitialState before resolving its layout, i.e.
- OnCreateLayout - Annotation Type in com.facebook.litho.annotations
-
This annotation is used in conjugation with
LayoutSpec.
- OnCreateLayoutWithSizeSpec - Annotation Type in com.facebook.litho.annotations
-
OnCreateLayoutWithSizeSpec is the same as
OnCreateLayout but the layout can be
resolved with a specified width and height.
- OnCreateMountContent - Annotation Type in com.facebook.litho.annotations
-
The method annotated with this annotation will be called to instantiate the mount content for the
MountSpec, when the pool of objects corresponding to this mount content type is empty and
recycling is not possible.
- OnCreateMountContentPool - Annotation Type in com.facebook.litho.annotations
-
The annotated method will be called to create a custom MountContentPool for this mount spec.
- OnCreateTransition - Annotation Type in com.facebook.litho.annotations
-
Annotation for a method that specifies how to animate this component to its new layout and props.
- OnCreateTreeProp - Annotation Type in com.facebook.litho.annotations
-
An annotation for a Spec method that generates tree props.
- OnDetached - Annotation Type in com.facebook.litho.annotations
-
A method annotated with this annotation is called when the component is detached from the
ComponentTree.
- OnEnteredRange - Annotation Type in com.facebook.litho.annotations
-
Annotated function in the component will allow it be called when entering a working range.
- OnError - Annotation Type in com.facebook.litho.annotations
-
Annotate a method inside your component with @OnError to receive a callback when an
exception inside supported delegate methods of a child component happens.
- OnEvent - Annotation Type in com.facebook.litho.annotations
-
Annotation for event handling.
- OnExitedRange - Annotation Type in com.facebook.litho.annotations
-
Annotated function in the component will allow it be called when exiting a working range.
- OnLoadStyle - Annotation Type in com.facebook.litho.annotations
-
- OnMeasure - Annotation Type in com.facebook.litho.annotations
-
- OnMeasureBaseline - Annotation Type in com.facebook.litho.annotations
-
A method that is annotated with this annotation will be used to compute the baseline of your
component.
- OnMount - Annotation Type in com.facebook.litho.annotations
-
A method annotated with OnMount is called on a MountSpec component before the
component is attached to a hosting view.
- OnPopulateAccessibilityNode - Annotation Type in com.facebook.litho.annotations
-
- OnPopulateExtraAccessibilityNode - Annotation Type in com.facebook.litho.annotations
-
- OnPrepare - Annotation Type in com.facebook.litho.annotations
-
A
MountSpec can define a method annotated with
OnPrepare to run code that is more
heavy and cannot be done during
OnMount or
OnBind.
- OnRegisterRanges - Annotation Type in com.facebook.litho.annotations
-
The method annotated with this annotation will be called to register working ranges for the
LayoutSpec.
- OnShouldCreateLayoutWithNewSizeSpec - Annotation Type in com.facebook.litho.annotations
-
This indicates that the annotated method will be called when the component's checks if it can use
the last cached layout returned from the Layout Spec with a new Size Spec.
- OnTrigger - Annotation Type in com.facebook.litho.annotations
-
Annotated function in the component will allow its parents to call it with an EventTrigger.
- OnUnbind - Annotation Type in com.facebook.litho.annotations
-
A method annotation used in classes that are annotated with
MountSpec.
- OnUnmount - Annotation Type in com.facebook.litho.annotations
-
- OnUpdateState - Annotation Type in com.facebook.litho.annotations
-
Used to mark a method that can update the state of a Component.
- OnUpdateStateWithTransition - Annotation Type in com.facebook.litho.annotations
-
Used to mark a method that can update the state of a Component and trigger Transition returned
from this method.
- OTHER - Static variable in annotation type com.facebook.litho.annotations.Comparable
-