experimental workaround for the headlines using wrong view on refresh

issue
This commit is contained in:
Andrew Dolgov 2013-10-07 18:32:42 +04:00
parent 1d4c2be92a
commit 0fb9177e78
1 changed files with 3 additions and 0 deletions

View File

@ -380,6 +380,9 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
m_autoCatchupDisabled = true;
list.setSelection(0);
m_autoCatchupDisabled = false;
list.setEmptyView(null);
m_adapter.clear();
m_adapter.notifyDataSetChanged();
}
}