React Find View Util
Finds views in React Native view hierarchies
Types
Callback to be invoked when all react native views with geiven NativeIds have been found
Callback to be invoked when a react native view has been found
Functions
Registers an OnViewFoundListener to be invoked when a view with a matching nativeID is found. Remove this listener using removeViewListener() if it's no longer needed.
Finds a view tagged with {@param onViewFoundListener}'s nativeID in the given {@param root} view hierarchy. If the view does not exist yet due to React Native's async layout, a listener will be added. When the view is found, the {@param onViewFoundListener} will be invoked.
Finds a view that is tagged with {@param nativeId} as its nativeID prop under the {@param root} view hierarchy. Returns the view if found, null otherwise.
Invokes any listeners that are listening on this {@param view}'s native id
Removes an OnViewFoundListener previously registered with addViewListener().