Skip navigation links
A C D E F G I L M O P R S T V 

A

ARRAY - Static variable in annotation type com.facebook.litho.annotations.Comparable
 

C

CachedValue - Annotation Type in com.facebook.litho.annotations
Annotates a parameter to a component's spec method indicating that it will be supplied as a cached value.
COLLECTION_COMPLEVEL_0 - Static variable in annotation type com.facebook.litho.annotations.Comparable
 
COLLECTION_COMPLEVEL_1 - Static variable in annotation type com.facebook.litho.annotations.Comparable
 
COLLECTION_COMPLEVEL_2 - Static variable in annotation type com.facebook.litho.annotations.Comparable
 
COLLECTION_COMPLEVEL_3 - Static variable in annotation type com.facebook.litho.annotations.Comparable
 
COLLECTION_COMPLEVEL_4 - Static variable in annotation type com.facebook.litho.annotations.Comparable
 
com.facebook.litho.annotations - package com.facebook.litho.annotations
 
Comparable - Annotation Type in com.facebook.litho.annotations
Annotates a parameter (Prop, TreeProp or State) indicating what kind of equivalence should be used in the "isEquivalentTo" call.
Comparable.Type - Annotation Type in com.facebook.litho.annotations
 
COMPARABLE_DRAWABLE - Static variable in annotation type com.facebook.litho.annotations.Comparable
 
COMPONENT - Static variable in annotation type com.facebook.litho.annotations.Comparable
 

D

DOUBLE - Static variable in annotation type com.facebook.litho.annotations.Comparable
 

E

Event - Annotation Type in com.facebook.litho.annotations
 
EVENT_HANDLER - Static variable in annotation type com.facebook.litho.annotations.Comparable
 
EVENT_HANDLER_IN_PARAMETERIZED_TYPE - Static variable in annotation type com.facebook.litho.annotations.Comparable
 

F

FLOAT - Static variable in annotation type com.facebook.litho.annotations.Comparable
 
FromBind - Annotation Type in com.facebook.litho.annotations
FromBind is used to pass objects from the OnBind lifecycle methods of MountSpec to lifecycle methods called successively such as OnUnbind or OnUnmount.
FromBoundsDefined - Annotation Type in com.facebook.litho.annotations
 
FromEvent - Annotation Type in com.facebook.litho.annotations
Annotates a parameter to a component's event handler callback method indicating that it will be supplied by the event object.
FromMeasure - Annotation Type in com.facebook.litho.annotations
Annotates that the argument's value should be set to the named inter-stage output from the OnMeasure lifecycle method.
FromMeasureBaseline - Annotation Type in com.facebook.litho.annotations
 
FromPrepare - Annotation Type in com.facebook.litho.annotations
 
FromPreviousCreateLayout - Annotation Type in com.facebook.litho.annotations
Annotates that the argument's value should be set to the named inter-stage output from the OnCreateLayoutWithSizeSpec lifecycle method.
FromTrigger - Annotation Type in com.facebook.litho.annotations
Parameters declared in a class annotated with Event that are used in OnTrigger

G

GetExtraAccessibilityNodeAt - Annotation Type in com.facebook.litho.annotations
 
GetExtraAccessibilityNodesCount - Annotation Type in com.facebook.litho.annotations
 

I

IMPORTANT_FOR_ACCESSIBILITY_AUTO - Static variable in annotation type com.facebook.litho.annotations.ImportantForAccessibility
Automatically determine whether a view is important for accessibility.
IMPORTANT_FOR_ACCESSIBILITY_NO - Static variable in annotation type com.facebook.litho.annotations.ImportantForAccessibility
The view is not important for accessibility.
IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS - Static variable in annotation type com.facebook.litho.annotations.ImportantForAccessibility
The view is not important for accessibility, nor are any of its descendant views.
IMPORTANT_FOR_ACCESSIBILITY_YES - Static variable in annotation type com.facebook.litho.annotations.ImportantForAccessibility
The view is important for accessibility.
IMPORTANT_FOR_ACCESSIBILITY_YES_HIDE_DESCENDANTS - Static variable in annotation type com.facebook.litho.annotations.ImportantForAccessibility
The view is important for accessibility, but none of its descendant views are.
ImportantForAccessibility - Annotation Type in com.facebook.litho.annotations
 
InjectProp - Annotation Type in com.facebook.litho.annotations
Annotates a parameter of a component's spec method indicating that the parameter will be automatically supplied via dependency injection.

L

LayoutSpec - Annotation Type in com.facebook.litho.annotations
A class that is annotated with this annotation will be used to create a composite component that is made up of other components.

M

MountingType - Enum in com.facebook.litho.annotations
 
MountSpec - Annotation Type in com.facebook.litho.annotations
A class that is annotated with this annotation will be used to create a component that renders something, in the form of either a Drawable or a View.

O

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
 

P

Param - Annotation Type in com.facebook.litho.annotations
Params can be used together with Event callbacks i.e.
PRIMITIVE - Static variable in annotation type com.facebook.litho.annotations.Comparable
 
Prop - Annotation Type in com.facebook.litho.annotations
Inputs to a Component are its props.
PropDefault - Annotation Type in com.facebook.litho.annotations
PropDefault can be used for setting the default value of an optional Prop in a LayoutSpec or MountSpec.

R

RequiredProp - Annotation Type in com.facebook.litho.annotations
Indicates that a method implementation sets required Prop.
ResType - Enum in com.facebook.litho.annotations
This enum's constants are used to mark that Prop can receive resources of a corresponding Android resource type as values.

S

SECTION - Static variable in annotation type com.facebook.litho.annotations.Comparable
 
ShouldAlwaysRemeasure - Annotation Type in com.facebook.litho.annotations
Annotated function in the component will allow it always be measured when receiving a remeasure event no matter the SizeSpecs are changed or not.
ShouldUpdate - Annotation Type in com.facebook.litho.annotations
 
ShouldUseGlobalPool - Annotation Type in com.facebook.litho.annotations
A method annotated with this annotation specifies whether this component may be allocated with application context and placed in the global component pool.
State - Annotation Type in com.facebook.litho.annotations
States for a given Component are the union of all arguments annotated with State in the spec.
STATE_CONTAINER - Static variable in annotation type com.facebook.litho.annotations.Comparable
 

T

TestSpec - Annotation Type in com.facebook.litho.annotations
An interface that is annotated with this annotation will be used to generate a matcher based on the underlying spec.
TreeProp - Annotation Type in com.facebook.litho.annotations
A prop passed silently down from a Spec's parents.

V

valueOf(String) - Static method in enum com.facebook.litho.annotations.MountingType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.facebook.litho.annotations.ResType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.facebook.litho.annotations.MountingType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.facebook.litho.annotations.ResType
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E F G I L M O P R S T V 
Skip navigation links