use of com.reactnativenavigation.NavigationActivity in project react-native-navigation by wix.
the class NavigationModule method onCatalystInstanceDestroy.
@Override
public void onCatalystInstanceDestroy() {
final NavigationActivity navigationActivity = activity();
if (navigationActivity != null) {
navigationActivity.onCatalystInstanceDestroy();
}
super.onCatalystInstanceDestroy();
}
use of com.reactnativenavigation.NavigationActivity in project react-native-navigation by wix.
the class NavigationModuleTest method mockActivity.
private NavigationActivity mockActivity() {
NavigationActivity activity = mock(NavigationActivity.class);
when(activity.getNavigator()).thenReturn(navigator);
return activity;
}
Aggregations