projects
/
JavaForFun
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d82dd1
)
WeatherInformation: current specific setHasNoOptions
author
gu.martinm@gmail.com
<gu.martinm@gmail.com>
Wed, 24 Sep 2014 01:17:34 +0000
(
03:17
+0200)
committer
gu.martinm@gmail.com
<gu.martinm@gmail.com>
Wed, 24 Sep 2014 01:17:34 +0000
(
03:17
+0200)
Android/WeatherInformation/src/de/example/exampletdd/fragment/current/CurrentFragment.java
patch
|
blob
|
history
Android/WeatherInformation/src/de/example/exampletdd/fragment/specific/SpecificFragment.java
patch
|
blob
|
history
diff --git
a/Android/WeatherInformation/src/de/example/exampletdd/fragment/current/CurrentFragment.java
b/Android/WeatherInformation/src/de/example/exampletdd/fragment/current/CurrentFragment.java
index
7c4dbc3
..
68444c2
100644
(file)
--- a/
Android/WeatherInformation/src/de/example/exampletdd/fragment/current/CurrentFragment.java
+++ b/
Android/WeatherInformation/src/de/example/exampletdd/fragment/current/CurrentFragment.java
@@
-80,6
+80,8
@@
public class CurrentFragment extends Fragment {
}
}
+ this.setHasOptionsMenu(false);
+
final ProgressBar progress = (ProgressBar) getActivity().findViewById(R.id.weather_current_progressbar);
progress.setVisibility(View.VISIBLE);
final TextView errorMessage = (TextView) getActivity().findViewById(R.id.weather_current_error_message);
diff --git
a/Android/WeatherInformation/src/de/example/exampletdd/fragment/specific/SpecificFragment.java
b/Android/WeatherInformation/src/de/example/exampletdd/fragment/specific/SpecificFragment.java
index
27b4ad7
..
dbe55e9
100644
(file)
--- a/
Android/WeatherInformation/src/de/example/exampletdd/fragment/specific/SpecificFragment.java
+++ b/
Android/WeatherInformation/src/de/example/exampletdd/fragment/specific/SpecificFragment.java
@@
-68,6
+68,8
@@
public class SpecificFragment extends Fragment {
this.mChosenDay = savedInstanceState.getInt("mChosenDay");
}
+
+ this.setHasOptionsMenu(false);
}
@Override