Enum | Description |
---|---|
MountingType | |
ResType |
Annotation Type | Description |
---|---|
CachedValue |
Annotates a parameter to a component's spec method indicating that it will be supplied as a
cached value.
|
Comparable |
Annotates a parameter (Prop, TreeProp or State) indicating what kind of equivalence should be
used in the "isEquivalentTo" call.
|
Comparable.Type | |
Event | |
FromBind | |
FromBoundsDefined | |
FromCreateLayout |
Indicates that the annotated parameter's value should be equivalent to the named output set in
OnCreateLayoutWithSizeSpec . |
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 | |
InjectProp |
Annotates a parameter of a component's spec method indicating that the parameter will be
automatically supplied via dependency injection.
|
OnBind |
A method annotation used in classes that are annotated with
MountSpec . |
OnBoundsDefined | |
OnCalculateCachedValue |
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 |
A method annotated with this annotation is responsible for creating the initial value for
params annotated with the
State annotation in this spec. |
OnCreateLayout | |
OnCreateMountContent |
The method annotated with this annotation will be called to instantiate the mount content for the
MountSpec . |
OnCreateMountContentPool |
The annotated method will be called to create a custom MountContentPool for this mount spec.
|
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.
|
OnEnteredRange |
Annotated function in the component will allow it be called when entering a working range.
|
OnError |
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 | |
OnExitedRange |
Annotated function in the component will allow it be called when exiting a working range.
|
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 | |
OnRegisterRanges |
The method annotated with this annotation will be called to register working ranges for the
LayoutSpec . |
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.
|
OnUpdateStateWithTransition |
Used to mark a method that can update the state of a Component and trigger Transition returned
from this method.
|
Param | |
Prop |
Annotates a parameter to a component's spec method indicating that it will be supplied as a prop
for this component.
|
PropDefault | |
ShouldAlwaysRemeasure |
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 | |
State | |
TreeProp |
A prop passed silently down from a Spec's parents.
|