public interface UIManager extends JSIModule, PerformanceCounter
Modifier and Type | Method and Description |
---|---|
<T extends android.view.View> |
addRootView(T rootView,
WritableMap initialProps,
java.lang.String initialUITemplate)
Registers a new root view.
|
void |
dispatchCommand(int reactTag,
int commandId,
ReadableArray commandArgs)
Dispatches the commandId received by parameter to the view associated with the reactTag.
|
void |
dispatchCommand(int reactTag,
java.lang.String commandId,
ReadableArray commandArgs)
Dispatches the commandId received by parameter to the view associated with the reactTag.
|
void |
synchronouslyUpdateViewOnUIThread(int reactTag,
ReadableMap props)
Used by native animated module to bypass the process of updating the values through the shadow
view hierarchy.
|
void |
updateRootLayoutSpecs(int rootTag,
int widthMeasureSpec,
int heightMeasureSpec)
Updates the layout specs of the RootShadowNode based on the Measure specs received by
parameters.
|
initialize, onCatalystInstanceDestroy
getPerformanceCounters, profileNextBatch
<T extends android.view.View> int addRootView(T rootView, WritableMap initialProps, java.lang.String initialUITemplate)
void updateRootLayoutSpecs(int rootTag, int widthMeasureSpec, int heightMeasureSpec)
void dispatchCommand(int reactTag, int commandId, ReadableArray commandArgs)
Receiving commands as ints is deprecated and will be removed in a future release.
reactTag
- int
that identifies the view that will receive this commandcommandId
- int
command idcommandArgs
- ReadableArray
parameters associated with the commandvoid dispatchCommand(int reactTag, java.lang.String commandId, ReadableArray commandArgs)
reactTag
- int
that identifies the view that will receive this commandcommandId
- String
command idcommandArgs
- ReadableArray
parameters associated with the commandvoid synchronouslyUpdateViewOnUIThread(int reactTag, ReadableMap props)
tag
- int
that identifies the view that will be updatedprops
- ReadableMap
props that should be immediately updated in view