| Enum | Description |
|---|---|
| ResType |
| Annotation Type | Description |
|---|---|
| Event | |
| FromBind | |
| FromBoundsDefined | |
| FromEvent |
Annotates a parameter to a component's event handler callback method indicating that it will be
supplied by the event object.
|
| FromMeasure | |
| FromMeasureBaseline | |
| FromPrepare | |
| FromTrigger | |
| GetExtraAccessibilityNodeAt | |
| GetExtraAccessibilityNodesCount | |
| ImportantForAccessibility | |
| LayoutSpec |
A class that is annotated with this annotation will be used to create a component lifecycle that
is made up of other components.
|
| MountSpec |
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.
|
| OnBind |
A method annotation used in classes that are annotated with
MountSpec. |
| OnBoundsDefined | |
| OnCreateInitialState |
A method annotated with this annotation is responsible for creating the initial value for
params annotated with the
State annotation in this spec. |
| OnCreateLayout | |
| OnCreateLayoutWithSizeSpec |
Whether the LayoutSpec component will perform measurement while computing its layout tree.
|
| OnCreateMountContent |
The method annotated with this annotation will be called to instantiate the mount content for
the
MountSpec. |
| OnCreateTransition |
Annotation for a method that specifies how to animate this component to its new layout
and props.
|
| OnCreateTreeProp |
An annotation for a Spec method that generates tree props.
|
| OnEvent | |
| OnLoadStyle | |
| OnMeasure | |
| OnMeasureBaseline |
A method that is annotated with this annotation will be used to compute the baseline of your
component.
|
| OnMount | |
| OnPopulateAccessibilityNode | |
| OnPopulateExtraAccessibilityNode | |
| OnPrepare | |
| OnTrigger |
Annotated function in the component will allow its parents to call it with an EventTrigger.
|
| OnUnbind |
A method annotation used in classes that are annotated with
MountSpec. |
| OnUnmount | |
| OnUpdateState |
Used to mark a method that can update the state of a Component.
|
| Param | |
| Prop |
Annotates a parameter to a component's spec method indicating that it will be supplied as a prop
for this component.
|
| PropDefault | |
| ShouldUpdate | |
| State | |
| TreeProp |
A prop passed silently down from a Spec's parents.
|