diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-06-23 15:57:00 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-06-23 15:57:00 +0200 |
commit | 3608ba18b68830f9bd65b0970ba85a4a3a1d5d44 (patch) | |
tree | 6eae76ada5578589322f7b39a4838d09d8355388 /src/de/podfetcher | |
parent | 5c308c7f1e3aa2ed00bc63023664ccff875702a6 (diff) | |
download | AntennaPod-3608ba18b68830f9bd65b0970ba85a4a3a1d5d44.zip |
Improved Feedmenu
Diffstat (limited to 'src/de/podfetcher')
-rw-r--r-- | src/de/podfetcher/fragment/FeedlistFragment.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/de/podfetcher/fragment/FeedlistFragment.java b/src/de/podfetcher/fragment/FeedlistFragment.java index 1dc925164..aecaa7165 100644 --- a/src/de/podfetcher/fragment/FeedlistFragment.java +++ b/src/de/podfetcher/fragment/FeedlistFragment.java @@ -111,6 +111,9 @@ public class FeedlistFragment extends SherlockListFragment { public void onPause() { super.onPause(); pActivity.unregisterReceiver(contentUpdate); + if (mActionMode != null) { + mActionMode.finish(); + } } private BroadcastReceiver contentUpdate = new BroadcastReceiver() { @@ -158,6 +161,12 @@ public class FeedlistFragment extends SherlockListFragment { }; remover.execute(selectedFeed); break; + case R.id.mark_all_read_item: + for (FeedItem feeditem : selectedFeed.getItems()) { + manager.markItemRead(getSherlockActivity(), feeditem, true); + } + fla.notifyDataSetChanged(); + break; } mode.finish(); return true; |