Skip to content

Commit 6ca736c

Browse files
author
Jeremy Silver
committed
Fix issue #13
1 parent 2faa327 commit 6ca736c

File tree

26 files changed

+26
-26
lines changed
  • S09.04-Exercise-UsingCursorLoader/app/src/main/java/com/example/android/sunshine
  • S09.04-Solution-UsingCursorLoader/app/src/main/java/com/example/android/sunshine
  • S09.05-Exercise-MoreDetails/app/src/main/java/com/example/android/sunshine
  • S09.05-Solution-MoreDetails/app/src/main/java/com/example/android/sunshine
  • S10.01-Exercise-SynchronizingTheWeather/app/src/main/java/com/example/android/sunshine
  • S10.01-Solution-SynchronizingTheWeather/app/src/main/java/com/example/android/sunshine
  • S10.02-Exercise-SmarterSyncing/app/src/main/java/com/example/android/sunshine
  • S10.02-Solution-SmarterSyncing/app/src/main/java/com/example/android/sunshine
  • S10.03-Exercise-FirebaseJobDispatcher/app/src/main/java/com/example/android/sunshine
  • S10.03-Solution-FirebaseJobDispatcher/app/src/main/java/com/example/android/sunshine
  • S10.04-Exercise-Notifications/app/src/main/java/com/example/android/sunshine
  • S10.04-Solution-Notifications/app/src/main/java/com/example/android/sunshine
  • S11.01-Exercise-NewListItemLayout/app/src/main/java/com/example/android/sunshine
  • S11.01-Solution-NewListItemLayout/app/src/main/java/com/example/android/sunshine
  • S11.02-Exercise-TodayListItem/app/src/main/java/com/example/android/sunshine
  • S11.02-Solution-TodayListItem/app/src/main/java/com/example/android/sunshine
  • S11.03-Exercise-DetailLayoutAndDataBinding/app/src/main/java/com/example/android/sunshine
  • S11.03-Solution-DetailLayoutAndDataBinding/app/src/main/java/com/example/android/sunshine
  • S12.01-Exercise-DimensionsColorsAndFonts/app/src/main/java/com/example/android/sunshine
  • S12.01-Solution-DimensionsColorsAndFonts/app/src/main/java/com/example/android/sunshine
  • S12.02-Exercise-Styles/app/src/main/java/com/example/android/sunshine
  • S12.02-Solution-Styles/app/src/main/java/com/example/android/sunshine
  • S12.03-Exercise-TouchSelectors/app/src/main/java/com/example/android/sunshine
  • S12.03-Solution-TouchSelectors/app/src/main/java/com/example/android/sunshine
  • S12.04-Exercise-ResourceQualifiers/app/src/main/java/com/example/android/sunshine
  • S12.04-Solution-ResourceQualifiers/app/src/main/java/com/example/android/sunshine

26 files changed

+26
-26
lines changed

S09.04-Exercise-UsingCursorLoader/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
7979
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
8080
MenuInflater inflater = getMenuInflater();
8181
/* Use the inflater's inflate method to inflate our menu layout to this menu */
82-
inflater.inflate(R.menu.forecast, menu);
82+
inflater.inflate(R.menu.detail, menu);
8383
/* Return true so that the menu is displayed in the Toolbar */
8484
return true;
8585
}

S09.04-Solution-UsingCursorLoader/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
7979
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
8080
MenuInflater inflater = getMenuInflater();
8181
/* Use the inflater's inflate method to inflate our menu layout to this menu */
82-
inflater.inflate(R.menu.forecast, menu);
82+
inflater.inflate(R.menu.detail, menu);
8383
/* Return true so that the menu is displayed in the Toolbar */
8484
return true;
8585
}

S09.05-Exercise-MoreDetails/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
9393
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
9494
MenuInflater inflater = getMenuInflater();
9595
/* Use the inflater's inflate method to inflate our menu layout to this menu */
96-
inflater.inflate(R.menu.forecast, menu);
96+
inflater.inflate(R.menu.detail, menu);
9797
/* Return true so that the menu is displayed in the Toolbar */
9898
return true;
9999
}

S09.05-Solution-MoreDetails/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
144144
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
145145
MenuInflater inflater = getMenuInflater();
146146
/* 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);
148148
/* Return true so that the menu is displayed in the Toolbar */
149149
return true;
150150
}

S10.01-Exercise-SynchronizingTheWeather/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
133133
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
134134
MenuInflater inflater = getMenuInflater();
135135
/* 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);
137137
/* Return true so that the menu is displayed in the Toolbar */
138138
return true;
139139
}

S10.01-Solution-SynchronizingTheWeather/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
133133
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
134134
MenuInflater inflater = getMenuInflater();
135135
/* 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);
137137
/* Return true so that the menu is displayed in the Toolbar */
138138
return true;
139139
}

S10.02-Exercise-SmarterSyncing/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
133133
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
134134
MenuInflater inflater = getMenuInflater();
135135
/* 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);
137137
/* Return true so that the menu is displayed in the Toolbar */
138138
return true;
139139
}

S10.02-Solution-SmarterSyncing/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
133133
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
134134
MenuInflater inflater = getMenuInflater();
135135
/* 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);
137137
/* Return true so that the menu is displayed in the Toolbar */
138138
return true;
139139
}

S10.03-Exercise-FirebaseJobDispatcher/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
133133
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
134134
MenuInflater inflater = getMenuInflater();
135135
/* 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);
137137
/* Return true so that the menu is displayed in the Toolbar */
138138
return true;
139139
}

S10.03-Solution-FirebaseJobDispatcher/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
133133
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
134134
MenuInflater inflater = getMenuInflater();
135135
/* 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);
137137
/* Return true so that the menu is displayed in the Toolbar */
138138
return true;
139139
}

S10.04-Exercise-Notifications/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
133133
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
134134
MenuInflater inflater = getMenuInflater();
135135
/* 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);
137137
/* Return true so that the menu is displayed in the Toolbar */
138138
return true;
139139
}

S10.04-Solution-Notifications/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
133133
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
134134
MenuInflater inflater = getMenuInflater();
135135
/* 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);
137137
/* Return true so that the menu is displayed in the Toolbar */
138138
return true;
139139
}

S11.01-Exercise-NewListItemLayout/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
141141
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
142142
MenuInflater inflater = getMenuInflater();
143143
/* Use the inflater's inflate method to inflate our menu layout to this menu */
144-
inflater.inflate(R.menu.forecast, menu);
144+
inflater.inflate(R.menu.detail, menu);
145145
/* Return true so that the menu is displayed in the Toolbar */
146146
return true;
147147
}

S11.01-Solution-NewListItemLayout/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
141141
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
142142
MenuInflater inflater = getMenuInflater();
143143
/* Use the inflater's inflate method to inflate our menu layout to this menu */
144-
inflater.inflate(R.menu.forecast, menu);
144+
inflater.inflate(R.menu.detail, menu);
145145
/* Return true so that the menu is displayed in the Toolbar */
146146
return true;
147147
}

S11.02-Exercise-TodayListItem/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
141141
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
142142
MenuInflater inflater = getMenuInflater();
143143
/* Use the inflater's inflate method to inflate our menu layout to this menu */
144-
inflater.inflate(R.menu.forecast, menu);
144+
inflater.inflate(R.menu.detail, menu);
145145
/* Return true so that the menu is displayed in the Toolbar */
146146
return true;
147147
}

S11.02-Solution-TodayListItem/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
141141
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
142142
MenuInflater inflater = getMenuInflater();
143143
/* Use the inflater's inflate method to inflate our menu layout to this menu */
144-
inflater.inflate(R.menu.forecast, menu);
144+
inflater.inflate(R.menu.detail, menu);
145145
/* Return true so that the menu is displayed in the Toolbar */
146146
return true;
147147
}

S11.03-Exercise-DetailLayoutAndDataBinding/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
144144
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
145145
MenuInflater inflater = getMenuInflater();
146146
/* 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);
148148
/* Return true so that the menu is displayed in the Toolbar */
149149
return true;
150150
}

S11.03-Solution-DetailLayoutAndDataBinding/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
132132
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
133133
MenuInflater inflater = getMenuInflater();
134134
/* 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);
136136
/* Return true so that the menu is displayed in the Toolbar */
137137
return true;
138138
}

S12.01-Exercise-DimensionsColorsAndFonts/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
127127
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
128128
MenuInflater inflater = getMenuInflater();
129129
/* 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);
131131
/* Return true so that the menu is displayed in the Toolbar */
132132
return true;
133133
}

S12.01-Solution-DimensionsColorsAndFonts/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
127127
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
128128
MenuInflater inflater = getMenuInflater();
129129
/* 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);
131131
/* Return true so that the menu is displayed in the Toolbar */
132132
return true;
133133
}

S12.02-Exercise-Styles/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
127127
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
128128
MenuInflater inflater = getMenuInflater();
129129
/* 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);
131131
/* Return true so that the menu is displayed in the Toolbar */
132132
return true;
133133
}

S12.02-Solution-Styles/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
127127
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
128128
MenuInflater inflater = getMenuInflater();
129129
/* 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);
131131
/* Return true so that the menu is displayed in the Toolbar */
132132
return true;
133133
}

S12.03-Exercise-TouchSelectors/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
127127
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
128128
MenuInflater inflater = getMenuInflater();
129129
/* 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);
131131
/* Return true so that the menu is displayed in the Toolbar */
132132
return true;
133133
}

S12.03-Solution-TouchSelectors/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
127127
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
128128
MenuInflater inflater = getMenuInflater();
129129
/* 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);
131131
/* Return true so that the menu is displayed in the Toolbar */
132132
return true;
133133
}

S12.04-Exercise-ResourceQualifiers/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
127127
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
128128
MenuInflater inflater = getMenuInflater();
129129
/* 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);
131131
/* Return true so that the menu is displayed in the Toolbar */
132132
return true;
133133
}

S12.04-Solution-ResourceQualifiers/app/src/main/java/com/example/android/sunshine/DetailActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
127127
/* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */
128128
MenuInflater inflater = getMenuInflater();
129129
/* 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);
131131
/* Return true so that the menu is displayed in the Toolbar */
132132
return true;
133133
}

0 commit comments

Comments
 (0)