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