From 507dbc4a002c2acc8b2577a84b0f0b70bc00aa33 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Wed, 27 May 2015 08:35:53 -0700 Subject: Put playlist removal after deletion back --- .../github/daneren2005/dsub/fragments/SelectPlaylistFragment.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'app/src/main/java') diff --git a/app/src/main/java/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java b/app/src/main/java/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java index 8939360c..03decc17 100644 --- a/app/src/main/java/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java +++ b/app/src/main/java/github/daneren2005/dsub/fragments/SelectPlaylistFragment.java @@ -201,9 +201,7 @@ public class SelectPlaylistFragment extends SelectRecyclerFragment imp @Override protected void done(Void result) { - // TODO: Redo - // adapter.remove(playlist); - adapter.notifyDataSetChanged(); + adapter.removeItem(playlist); Util.toast(context, context.getResources().getString(R.string.menu_deleted_playlist, playlist.getName())); } -- cgit v1.2.3