aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-11-08 18:48:55 -0800
committerScott Jackson <daneren2005@gmail.com>2013-11-08 18:48:55 -0800
commit423b719ad2fde340ed013abfbca57f29d0b78f81 (patch)
treeb9e14477b30131612f0d40a0074edb5f39edd042 /src/github/daneren2005
parent9aed91fe7633857c29a600d3dc3c2b4c02affcd9 (diff)
downloaddsub-423b719ad2fde340ed013abfbca57f29d0b78f81.tar.gz
dsub-423b719ad2fde340ed013abfbca57f29d0b78f81.tar.bz2
dsub-423b719ad2fde340ed013abfbca57f29d0b78f81.zip
Fix web commits
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r--src/github/daneren2005/dsub/fragments/SelectBookmarkFragment.java9
-rw-r--r--src/github/daneren2005/dsub/view/BookmarkAdapter.java4
2 files changed, 10 insertions, 3 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SelectBookmarkFragment.java b/src/github/daneren2005/dsub/fragments/SelectBookmarkFragment.java
index a7f284b9..909e86f3 100644
--- a/src/github/daneren2005/dsub/fragments/SelectBookmarkFragment.java
+++ b/src/github/daneren2005/dsub/fragments/SelectBookmarkFragment.java
@@ -93,7 +93,7 @@ public class SelectBookmarkFragment extends SubsonicFragment implements AdapterV
}
@Override
- protected void refresh(boolean refresh) {
+ protected void refresh(final boolean refresh) {
setTitle(R.string.main_albums_genres);
bookmarkListView.setVisibility(View.INVISIBLE);
@@ -114,7 +114,7 @@ public class SelectBookmarkFragment extends SubsonicFragment implements AdapterV
}
@Override
- protected void done(List<Genre> result) {
+ protected void done(List<Bookmark> result) {
emptyView.setVisibility(result == null || result.isEmpty() ? View.VISIBLE : View.GONE);
if (result != null) {
@@ -125,4 +125,9 @@ public class SelectBookmarkFragment extends SubsonicFragment implements AdapterV
};
task.execute();
}
+
+ @Override
+ public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
+
+ }
}
diff --git a/src/github/daneren2005/dsub/view/BookmarkAdapter.java b/src/github/daneren2005/dsub/view/BookmarkAdapter.java
index 9f04fbd3..2ee8a31d 100644
--- a/src/github/daneren2005/dsub/view/BookmarkAdapter.java
+++ b/src/github/daneren2005/dsub/view/BookmarkAdapter.java
@@ -30,9 +30,11 @@ import github.daneren2005.dsub.domain.MusicDirectory;
public class BookmarkAdapter extends ArrayAdapter<Bookmark> {
private final static String TAG = BookmarkAdapter.class.getSimpleName();
+ private Context activity;
- public EntryAdapter(Context activity, List<Bookmark> bookmarks) {
+ public BookmarkAdapter(Context activity, List<Bookmark> bookmarks) {
super(activity, android.R.layout.simple_list_item_1, bookmarks);
+ this.activity = activity;
}
public View getView(int position, View convertView, ViewGroup parent) {