diff options
author | Andrew Dolgov <[email protected]> | 2017-05-31 16:30:14 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-05-31 16:30:14 +0300 |
commit | 8d58fa8af8167da8a316427ae9a47d26a8a33f1e (patch) | |
tree | c2a6e9fb1c318b1516df6a0dee4e882f7ac4594f | |
parent | 6bec08951e165bb9031a968f4dbbb3ea1baf4cfa (diff) |
feeds fragment: code cleanup
-rwxr-xr-x | org.fox.ttrss/src/main/java/org/fox/ttrss/FeedsFragment.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/FeedsFragment.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/FeedsFragment.java index 56c88d6f..a15ffb0d 100755 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/FeedsFragment.java +++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/FeedsFragment.java @@ -56,7 +56,6 @@ public class FeedsFragment extends BaseFeedlistFragment implements OnItemClickLi private MasterActivity m_activity; private Feed m_selectedFeed; private FeedCategory m_activeCategory; - private boolean m_feedIconsChecked = false; private SwipeRefreshLayout m_swipeLayout; private boolean m_enableParentBtn = false; private ListView m_list; @@ -356,8 +355,6 @@ public class FeedsFragment extends BaseFeedlistFragment implements OnItemClickLi if (savedInstanceState != null) { m_selectedFeed = savedInstanceState.getParcelable("selectedFeed"); - m_feeds = savedInstanceState.getParcelable("feeds"); - m_feedIconsChecked = savedInstanceState.getBoolean("feedIconsChecked"); m_activeCategory = savedInstanceState.getParcelable("activeCat"); m_enableParentBtn = savedInstanceState.getBoolean("enableParentBtn"); } @@ -425,7 +422,7 @@ public class FeedsFragment extends BaseFeedlistFragment implements OnItemClickLi public void onResume() { super.onResume(); - getLoaderManager().initLoader(0, null, this).forceLoad(); + getLoaderManager().initLoader(0, null, this); m_activity.invalidateOptionsMenu(); } @@ -436,8 +433,6 @@ public class FeedsFragment extends BaseFeedlistFragment implements OnItemClickLi out.setClassLoader(getClass().getClassLoader()); out.putParcelable("selectedFeed", m_selectedFeed); - out.putParcelable("feeds", m_feeds); - out.putBoolean("feedIconsChecked", m_feedIconsChecked); out.putParcelable("activeCat", m_activeCategory); out.putBoolean("enableParentBtn", m_enableParentBtn); } |