UIImplementation
A class that is used to receive React commands from JS and translate them into a shadow node hierarchy that is then mapped to a native view hierarchy.
Types
Link copied to clipboard
interface LayoutUpdateListener
Interface definition for a callback to be invoked when the layout has been updated
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Configure an animation to be used for the native layout changes, and native views creation.
Link copied to clipboard
Invoked by React to create a new node with a given tag, class name and properties.
Link copied to clipboard
open fun dispatchViewManagerCommand(reactTag: Int, commandId: Int, @Nullable commandArgs: ReadableArray)
open fun dispatchViewManagerCommand(reactTag: Int, commandId: String, @Nullable commandArgs: ReadableArray)
Link copied to clipboard
Invoked at the end of the transaction to commit any updates to the node hierarchy.
Link copied to clipboard
Find the touch target child native view in the supplied root view hierarchy, given a react target location.
Link copied to clipboard
Link copied to clipboard
Return root view num
Link copied to clipboard
open fun manageChildren(viewTag: Int, @Nullable moveFrom: ReadableArray, @Nullable moveTo: ReadableArray, @Nullable addChildTags: ReadableArray, @Nullable addAtIndices: ReadableArray, @Nullable removeFrom: ReadableArray)
Invoked when there is a mutation in a node tree.
Link copied to clipboard
Determines the location on screen, width, and height of the given view relative to the device screen and returns the values via an async callback.
Link copied to clipboard
open fun measureLayout(tag: Int, ancestorTag: Int, errorCallback: Callback, successCallback: Callback)
Measures the view specified by tag relative to the given ancestorTag.
Link copied to clipboard
open fun measureLayoutRelativeToParent(tag: Int, errorCallback: Callback, successCallback: Callback)
Like measure and measureLayout but measures relative to the immediate parent.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Registers a root node with a given tag, size and ThemedReactContext and adds it to a node registry.
Link copied to clipboard
Link copied to clipboard
Unregisters a root node with a given tag from the shadow node registry
Link copied to clipboard
Unregisters a root node with a given tag.
Link copied to clipboard
Replaces the View specified by oldTag with the View specified by newTag within oldTag's parent.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
An optimized version of manageChildren that is used for initial setting of child views.
Link copied to clipboard
Link copied to clipboard
LayoutAnimation API on Android is currently experimental.
Link copied to clipboard
Link copied to clipboard
open fun setViewHierarchyUpdateDebugListener(@Nullable listener: NotThreadSafeViewHierarchyUpdateDebugListener)
Link copied to clipboard
Link copied to clipboard
Used by native animated module to bypass the process of updating the values through the shadow view hierarchy.
Link copied to clipboard
Link copied to clipboard
Invoked when native view that corresponds to a root node, or acts as a root view (ie.
Link copied to clipboard
open fun updateRootView(rootCSSNode: ReactShadowNode, widthMeasureSpec: Int, heightMeasureSpec: Int)
Updates the styles of the ReactShadowNode based on the Measure specs received by parameters.
Link copied to clipboard
Invoked by React to create a new node with a given tag has its properties changed.
Link copied to clipboard
Check if the first shadow node is the descendant of the second shadow node