diff options
author | Tom Hennen <tom.hennen@gmail.com> | 2015-04-03 11:00:52 -0400 |
---|---|---|
committer | Tom Hennen <tom.hennen@gmail.com> | 2015-04-03 11:00:52 -0400 |
commit | 0aed6ce38309d93079ddfa9384dfa0d55bb7512f (patch) | |
tree | 8b2949cc54987a66f443d1bd651c134a2ad00cfa /app/src/main/java/de/danoeh | |
parent | c277166f77351bdeda7c2dc10db21df420fb2987 (diff) | |
download | AntennaPod-0aed6ce38309d93079ddfa9384dfa0d55bb7512f.zip |
switched to use just RemoveListener
Diffstat (limited to 'app/src/main/java/de/danoeh')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/fragment/NewEpisodesFragment.java | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/NewEpisodesFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/NewEpisodesFragment.java index 715222295..02d560599 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/NewEpisodesFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/NewEpisodesFragment.java @@ -249,18 +249,7 @@ public class NewEpisodesFragment extends Fragment { } }); - listView.setDragSortListener(new DragSortListView.DragSortListener() { - - @Override - public void drag(int from, int to) { - // no drag - } - - @Override - public void drop(int from, int to) { - // no drop - } - + listView.setRemoveListener(new DragSortListView.RemoveListener() { @Override public void remove(int which) { Log.d(TAG, "remove("+which+")"); @@ -271,13 +260,6 @@ public class NewEpisodesFragment extends Fragment { getString(R.string.marked_as_read_label), new FeedItemUndoToken(item, which) ); - // TODO: provide undo? - /* - undoBarController.showUndoBar(false, - getString(R.string.removed_from_queue), new FeedItemUndoToken(item, - which) - ); - */ } }); |