mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Fix flash of empty list view. (#458)
This commit is contained in:
parent
720a944f8b
commit
93136acd3a
2 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,6 @@ public abstract class ItemsList extends NbFragmentActivity implements ActionComp
|
|||
public void actionCompleteCallback(boolean noMoreData) {
|
||||
if (itemListFragment != null) {
|
||||
itemListFragment.hasUpdated();
|
||||
itemListFragment.setEmptyListView(R.string.empty_list_view_no_stories);
|
||||
}
|
||||
setSupportProgressBarIndeterminateVisibility(false);
|
||||
if (noMoreData) {
|
||||
|
|
|
@ -69,6 +69,7 @@ public abstract class ItemListFragment extends Fragment implements OnScrollListe
|
|||
triggerRefresh(currentPage);
|
||||
}
|
||||
adapter.swapCursor(cursor);
|
||||
setEmptyListView(R.string.empty_list_view_no_stories);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue