aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-12-23 19:33:00 -0800
committerScott Jackson <daneren2005@gmail.com>2013-12-23 19:33:00 -0800
commit0193bcb62b62271a00f7bc7a7400948470ea888c (patch)
tree471ec47ce5919ef7fb806b1953554799543976f3
parent13ea5f7890109beb42d009be9a3f21d5bf518353 (diff)
downloaddsub-0193bcb62b62271a00f7bc7a7400948470ea888c.tar.gz
dsub-0193bcb62b62271a00f7bc7a7400948470ea888c.tar.bz2
dsub-0193bcb62b62271a00f7bc7a7400948470ea888c.zip
Added music service to getObjects
-rw-r--r--src/github/daneren2005/dsub/fragments/SelectListFragment.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SelectListFragment.java b/src/github/daneren2005/dsub/fragments/SelectListFragment.java
index c5fd4508..e6f78928 100644
--- a/src/github/daneren2005/dsub/fragments/SelectListFragment.java
+++ b/src/github/daneren2005/dsub/fragments/SelectListFragment.java
@@ -113,7 +113,7 @@ public abstract class SelectListFragment<T> extends SubsonicFragment implements
objects = new ArrayList<T>();
try {
- objects = getObjects();
+ objects = getObjects(musicService);
} catch (Exception x) {
Log.e(TAG, "Failed to load", x);
}
@@ -137,6 +137,6 @@ public abstract class SelectListFragment<T> extends SubsonicFragment implements
public abstract int getOptionsMenu();
public abstract ListAdapter getAdapter(List<T> objs);
- public abstract List<T> getObjects();
+ public abstract List<T> getObjects(MusicService musicService);
public abstract int getTitleResource();
}