React Surface View
A view created by ReactSurface that's responsible for rendering a React component.
Functions
Return cached launch properties for app
Return native view for root
Fabric or Default UI Manager, see UIManagerType
Called when a child ends a native gesture. Should be called from the child's onTouchIntercepted implementation.
Called when a child starts a native gesture (e.g. a scroll in a ScrollView). Should be called from the child's onTouchIntercepted implementation.
Calls into JS to start the React application.
Sets a flag that determines whether to log that content appeared on next view added.
{@see #startReactApplication(ReactInstanceManager, String, android.os.Bundle)}
Schedule rendering of the react component rendered by the JS application from the given JS module (@{param moduleName}) using provided {@param reactInstanceManager} to attach to the JS context of that manager. Extra parameter {@param initialProperties} can be used to pass initial properties for the react component.
Unmount the react application at this root view, reclaiming any JS memory associated with that application. If startReactApplication is called, this method must be called before the ReactRootView is garbage collected (typically in your Activity's onDestroy, or in your Fragment's onDestroyView).