move headlines list to top if not appending on refresh

This commit is contained in:
Andrew Dolgov 2017-06-01 20:59:37 +03:00
parent d2ca0e03f8
commit 415c76b392

View File

@ -578,6 +578,10 @@ public class HeadlinesFragment extends Fragment {
if (m_swipeLayout != null) m_swipeLayout.setRefreshing(true);
if (!append) {
m_list.scrollToPosition(0);
}
final String sessionId = m_activity.getSessionId();
final boolean isCat = m_feed.is_cat;