offline cats fragment: check if adapter exists on refresh
This commit is contained in:
parent
d889d5e44c
commit
96e91b9c95
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user