feed frags: always notify adapter on load, just in case
This commit is contained in:
parent
5d9afbd53a
commit
fc632ae9a9
@ -118,8 +118,7 @@ public class FeedCategoriesFragment extends BaseFeedlistFragment implements OnIt
|
|||||||
m_cats.add(0, new FeedCategory(-1, "Special", 0));
|
m_cats.add(0, new FeedCategory(-1, "Special", 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
//m_adapter.notifyDataSetChanged(); (done by sortCats)
|
m_adapter.notifyDataSetChanged();
|
||||||
//m_activity.setLoadingStatus(R.string.blank, false);
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -122,7 +122,6 @@ public class FeedsFragment extends BaseFeedlistFragment implements OnItemClickLi
|
|||||||
feed.unread = catUnread;
|
feed.unread = catUnread;
|
||||||
|
|
||||||
m_feeds.add(0, feed);
|
m_feeds.add(0, feed);
|
||||||
m_adapter.notifyDataSetChanged();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -133,9 +132,10 @@ public class FeedsFragment extends BaseFeedlistFragment implements OnItemClickLi
|
|||||||
feed.display_title = getString(R.string.feed_all_articles);
|
feed.display_title = getString(R.string.feed_all_articles);
|
||||||
|
|
||||||
m_feeds.add(0, feed);
|
m_feeds.add(0, feed);
|
||||||
m_adapter.notifyDataSetChanged();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_adapter.notifyDataSetChanged();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user