List of usage examples for com.facebook.react ReactInstanceManager onHostDestroy
@ThreadConfined(UI) public void onHostDestroy(Activity activity)
From source file:org.jitsi.meet.sdk.JitsiMeetActivityDelegate.java
License:Apache License
/** * {@link Activity} lifecycle method which should be called from * {@code Activity#onDestroy} so we can do the required internal * processing./*ww w . j a v a2 s . c o m*/ * * @param activity {@code Activity} being destroyed. */ public static void onHostDestroy(Activity activity) { ReactInstanceManager reactInstanceManager = ReactInstanceManagerHolder.getReactInstanceManager(); if (reactInstanceManager != null) { reactInstanceManager.onHostDestroy(activity); } }