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
1. onOptionsItemSelected behavior now conforms to the contract set out in the docs.
2. onOptionsItemSelected for sub-Controllers now delegate to the super class when they have no behavior defined for an item.
Copy file name to clipboardExpand all lines: todoapp/app/src/main/java/com/example/android/architecture/blueprints/todoapp/statistics/StatisticsController.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -78,9 +78,9 @@ public boolean onOptionsItemSelected(MenuItem item) {
78
78
caseandroid.R.id.home:
79
79
// Open the navigation drawer when the home icon is selected from the toolbar.
Copy file name to clipboardExpand all lines: todoapp/app/src/main/java/com/example/android/architecture/blueprints/todoapp/taskdetail/TaskDetailController.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,7 @@ public boolean onOptionsItemSelected(MenuItem item) {
0 commit comments