diff options
author | Andrew Dolgov <[email protected]> | 2018-03-08 17:13:15 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-03-08 17:13:15 +0300 |
commit | cc307ca15b5b7752d4a5b46eba5a67163d98af7e (patch) | |
tree | a65e017a9a4ec4f468f4d693496a0626b43ef0fd /org.fox.ttrss/src/main | |
parent | 3fe89ce427b6f44e37ccc85dfc985cce7eccfe20 (diff) |
feed/cat loaders: stop clearing data on loader reset to prevent annoying flicker
Diffstat (limited to 'org.fox.ttrss/src/main')
-rwxr-xr-x | org.fox.ttrss/src/main/java/org/fox/ttrss/FeedCategoriesFragment.java | 4 | ||||
-rwxr-xr-x | org.fox.ttrss/src/main/java/org/fox/ttrss/FeedsFragment.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/FeedCategoriesFragment.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/FeedCategoriesFragment.java index ead5e74f..d3f1f4db 100755 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/FeedCategoriesFragment.java +++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/FeedCategoriesFragment.java @@ -172,8 +172,8 @@ public class FeedCategoriesFragment extends BaseFeedlistFragment implements OnIt public void onLoaderReset(Loader<JsonElement> loader) { Log.d(TAG, "onLoaderReset: " + loader); - m_cats.clear(); - m_adapter.notifyDataSetChanged(); + /*m_cats.clear(); + m_adapter.notifyDataSetChanged();*/ } @SuppressLint("DefaultLocale") 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 bd69958f..f14978c5 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 @@ -164,8 +164,8 @@ public class FeedsFragment extends BaseFeedlistFragment implements OnItemClickLi @Override public void onLoaderReset(Loader<JsonElement> loader) { - m_feeds.clear(); - m_adapter.notifyDataSetChanged(); + /*m_feeds.clear(); + m_adapter.notifyDataSetChanged();*/ } @SuppressLint("DefaultLocale") |