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: S10.01-Exercise-SynchronizingTheWeather/app/src/main/java/com/example/android/sunshine/DetailActivity.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
133
133
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
134
134
MenuInflaterinflater = getMenuInflater();
135
135
/* Use the inflater's inflate method to inflate our menu layout to this menu */
136
-
inflater.inflate(R.menu.forecast, menu);
136
+
inflater.inflate(R.menu.detail, menu);
137
137
/* Return true so that the menu is displayed in the Toolbar */
Copy file name to clipboardExpand all lines: S10.01-Solution-SynchronizingTheWeather/app/src/main/java/com/example/android/sunshine/DetailActivity.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
133
133
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
134
134
MenuInflaterinflater = getMenuInflater();
135
135
/* Use the inflater's inflate method to inflate our menu layout to this menu */
136
-
inflater.inflate(R.menu.forecast, menu);
136
+
inflater.inflate(R.menu.detail, menu);
137
137
/* Return true so that the menu is displayed in the Toolbar */
Copy file name to clipboardExpand all lines: S11.03-Exercise-DetailLayoutAndDataBinding/app/src/main/java/com/example/android/sunshine/DetailActivity.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -144,7 +144,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
144
144
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
145
145
MenuInflaterinflater = getMenuInflater();
146
146
/* Use the inflater's inflate method to inflate our menu layout to this menu */
147
-
inflater.inflate(R.menu.forecast, menu);
147
+
inflater.inflate(R.menu.detail, menu);
148
148
/* Return true so that the menu is displayed in the Toolbar */
Copy file name to clipboardExpand all lines: S11.03-Solution-DetailLayoutAndDataBinding/app/src/main/java/com/example/android/sunshine/DetailActivity.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -132,7 +132,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
132
132
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
133
133
MenuInflaterinflater = getMenuInflater();
134
134
/* Use the inflater's inflate method to inflate our menu layout to this menu */
135
-
inflater.inflate(R.menu.forecast, menu);
135
+
inflater.inflate(R.menu.detail, menu);
136
136
/* Return true so that the menu is displayed in the Toolbar */
Copy file name to clipboardExpand all lines: S12.01-Exercise-DimensionsColorsAndFonts/app/src/main/java/com/example/android/sunshine/DetailActivity.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -127,7 +127,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
127
127
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
128
128
MenuInflaterinflater = getMenuInflater();
129
129
/* Use the inflater's inflate method to inflate our menu layout to this menu */
130
-
inflater.inflate(R.menu.forecast, menu);
130
+
inflater.inflate(R.menu.detail, menu);
131
131
/* Return true so that the menu is displayed in the Toolbar */
Copy file name to clipboardExpand all lines: S12.01-Solution-DimensionsColorsAndFonts/app/src/main/java/com/example/android/sunshine/DetailActivity.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -127,7 +127,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
127
127
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
128
128
MenuInflaterinflater = getMenuInflater();
129
129
/* Use the inflater's inflate method to inflate our menu layout to this menu */
130
-
inflater.inflate(R.menu.forecast, menu);
130
+
inflater.inflate(R.menu.detail, menu);
131
131
/* Return true so that the menu is displayed in the Toolbar */
0 commit comments