You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Lesson05a-Android-Lifecycle/T05a.03-Exercise-FixLifecycleDisplayBug/app/src/main/java/com/example/android/lifecycle/MainActivity.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ public class MainActivity extends AppCompatActivity {
39
39
*/
40
40
privateTextViewmLifecycleDisplay;
41
41
42
-
// TODO (1) Declare and instantiate an ArrayList of Strings called mLifecycleCallbacks
42
+
// TODO (1) Declare and instantiate a static ArrayList of Strings called mLifecycleCallbacks
43
43
44
44
/**
45
45
* Called when the activity is first created. This is where you should do all of your normal
Copy file name to clipboardExpand all lines: Lesson05a-Android-Lifecycle/T05a.03-Solution-FixLifecycleDisplayBug/app/src/main/java/com/example/android/lifecycle/MainActivity.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ public class MainActivity extends AppCompatActivity {
41
41
*/
42
42
privateTextViewmLifecycleDisplay;
43
43
44
-
// COMPLETED (1) Declare and instantiate an ArrayList of Strings called mLifecycleCallbacks
44
+
// COMPLETED (1) Declare and instantiate a static ArrayList of Strings called mLifecycleCallbacks
45
45
/*
46
46
* This ArrayList will keep track of lifecycle callbacks that occur after we are able to save
47
47
* them. Since, as we've observed, the contents of the TextView are saved in onSaveInstanceState
0 commit comments