From 0fb9177e780879bf780b45fdb794265e18f476b6 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 7 Oct 2013 18:32:42 +0400 Subject: [PATCH] experimental workaround for the headlines using wrong view on refresh issue --- src/org/fox/ttrss/HeadlinesFragment.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/org/fox/ttrss/HeadlinesFragment.java b/src/org/fox/ttrss/HeadlinesFragment.java index 53bedc59..581f8f0f 100644 --- a/src/org/fox/ttrss/HeadlinesFragment.java +++ b/src/org/fox/ttrss/HeadlinesFragment.java @@ -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(); } }