Guy Carmeli 8 years ago
parent
commit
cb05adcd75

+ 2
- 1
android/app/src/main/java/com/reactnativenavigation/controllers/NavigationActivity.java View File

22
      * Although we start multiple activities, we make sure to pass Intent.CLEAR_TASK | Intent.NEW_TASK
22
      * Although we start multiple activities, we make sure to pass Intent.CLEAR_TASK | Intent.NEW_TASK
23
      * So that we actually have only 1 instance of the activity running at one time.
23
      * So that we actually have only 1 instance of the activity running at one time.
24
      * We hold the currentActivity (resume->pause) so we know when we need to destroy the javascript context.
24
      * We hold the currentActivity (resume->pause) so we know when we need to destroy the javascript context.
25
-     * This is somewhat weird, and in the future either fully support multiple activities, OR a single activity with changing contentView ala ReactNative impl.
25
+     * This is somewhat weird, and in the future either fully support multiple activities,
26
+     * OR a single activity with changing contentView similar to ReactNative impl.
26
      */
27
      */
27
     private static Activity currentActivity;
28
     private static Activity currentActivity;
28
     private ActivityParams activityParams;
29
     private ActivityParams activityParams;