diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-06-30 22:10:13 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-06-30 22:10:13 -0700 |
commit | 07858677d17b21e37652979bd34642698bae4497 (patch) | |
tree | 71ac1a269d5c3408673b8cfeba17393637283555 /subsonic-android/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java | |
parent | 6b4a6a3ae038f2b46c9427427e892d72d83cd670 (diff) | |
download | dsub-07858677d17b21e37652979bd34642698bae4497.tar.gz dsub-07858677d17b21e37652979bd34642698bae4497.tar.bz2 dsub-07858677d17b21e37652979bd34642698bae4497.zip |
Remove extra abstraction, fix other cases needing new id method
Diffstat (limited to 'subsonic-android/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java')
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java b/subsonic-android/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java index cd20c0e2..9bff7e17 100644 --- a/subsonic-android/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java +++ b/subsonic-android/src/github/daneren2005/dsub/fragments/SelectDirectoryFragment.java @@ -63,7 +63,7 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter int albumListSize;
- SelectDirectoryFragment() {
+ public SelectDirectoryFragment() {
super();
rootId = getNewId();
}
@@ -287,13 +287,6 @@ public class SelectDirectoryFragment extends SubsonicFragment implements Adapter @Override
public void setPrimaryFragment(boolean primary) {
super.setPrimaryFragment(primary);
- if(rootView != null) {
- if(primary) {
- ((ViewGroup)rootView).getChildAt(0).setVisibility(View.VISIBLE);
- } else {
- ((ViewGroup)rootView).getChildAt(0).setVisibility(View.GONE);
- }
- }
}
@Override
|