diff options
author | Andrew Dolgov <[email protected]> | 2013-06-10 15:12:09 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-06-10 15:12:09 +0400 |
commit | 96e91b9c95bcb5975d09bc1a2f7dc27fc30a56b5 (patch) | |
tree | f28aad94ffb9b55aec4bb2913c49c21bac79e923 /src | |
parent | d889d5e44c4922a691181f343a1f2ef3c7520ac8 (diff) |
offline cats fragment: check if adapter exists on refresh
Diffstat (limited to 'src')
-rw-r--r-- | src/org/fox/ttrss/offline/OfflineFeedCategoriesFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/fox/ttrss/offline/OfflineFeedCategoriesFragment.java b/src/org/fox/ttrss/offline/OfflineFeedCategoriesFragment.java index 426cda0d..ad229919 100644 --- a/src/org/fox/ttrss/offline/OfflineFeedCategoriesFragment.java +++ b/src/org/fox/ttrss/offline/OfflineFeedCategoriesFragment.java @@ -70,7 +70,7 @@ public class OfflineFeedCategoriesFragment extends Fragment implements OnItemCli m_cursor = createCursor(); - if (m_cursor != null) { + if (m_cursor != null && m_adapter != null) { m_adapter.changeCursor(m_cursor); m_adapter.notifyDataSetChanged(); } |