aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-04-27 18:08:48 -0700
committerScott Jackson <daneren2005@gmail.com>2013-04-27 18:08:48 -0700
commited6fdeee1fc935265669eb45cad3348d024054a0 (patch)
treebb15b2fba6689661639c08c76fbacf526df1671b /subsonic-android
parentf4e44095c6638253997316300c92f70ef23b66e7 (diff)
downloaddsub-ed6fdeee1fc935265669eb45cad3348d024054a0.tar.gz
dsub-ed6fdeee1fc935265669eb45cad3348d024054a0.tar.bz2
dsub-ed6fdeee1fc935265669eb45cad3348d024054a0.zip
Don't load other fragments until we actually go to them
Diffstat (limited to 'subsonic-android')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java2
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java b/subsonic-android/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java
index 8675f625..20bd63a5 100644
--- a/subsonic-android/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java
+++ b/subsonic-android/src/github/daneren2005/dsub/fragments/SelectArtistFragment.java
@@ -59,7 +59,7 @@ public class SelectArtistFragment extends SubsonicTabFragment implements Adapter
}
registerForContextMenu(artistList);
- load(false);
+ invalidated = true;
return rootView;
}
diff --git a/subsonic-android/src/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java b/subsonic-android/src/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java
index 826e5e66..5581cae5 100644
--- a/subsonic-android/src/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java
+++ b/subsonic-android/src/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java
@@ -51,7 +51,7 @@ public class SelectPlaylistFragment extends SubsonicTabFragment implements Adapt
emptyTextView = rootView.findViewById(R.id.select_playlist_empty);
list.setOnItemClickListener(this);
registerForContextMenu(list);
- load(false);
+ invalidated = true;
return rootView;
}