-
- All Implemented Interfaces:
-
com.facebook.react.common.SurfaceDelegate
public class LogBoxDialogSurfaceDelegate implements SurfaceDelegate
The implementation of SurfaceDelegate with Activity. This is the default SurfaceDelegate for Mobile.
-
-
Method Summary
Modifier and Type Method Description void
createContentView(String appKey)
Create the React content view that uses the appKey as the React application name boolean
isContentViewReady()
Check if the content view is created and ready to be shown void
destroyContentView()
Destroy the React content view to avoid memory leak void
show()
Show the surface containing the React content view void
hide()
Hide the surface containing the React content view boolean
isShowing()
Check if the surface is currently showing -
-
Method Detail
-
createContentView
void createContentView(String appKey)
Create the React content view that uses the appKey as the React application name
-
isContentViewReady
boolean isContentViewReady()
Check if the content view is created and ready to be shown
-
destroyContentView
void destroyContentView()
Destroy the React content view to avoid memory leak
-
show
void show()
Show the surface containing the React content view
-
hide
void hide()
Hide the surface containing the React content view
-
isShowing
boolean isShowing()
Check if the surface is currently showing
-
-
-
-