diff options
author | Andrew Dolgov <[email protected]> | 2017-06-01 20:59:37 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-06-01 20:59:37 +0300 |
commit | 415c76b392c78f0b05835d1d9c10355e2696bdf9 (patch) | |
tree | 9174ac5e3c8e7f9abaaf08a42b08d6d507e706d7 /org.fox.ttrss/src/main | |
parent | d2ca0e03f8b2274bd4ec0abe30b45028a42f96a8 (diff) |
move headlines list to top if not appending on refresh
Diffstat (limited to 'org.fox.ttrss/src/main')
-rwxr-xr-x | org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java index 3a703d72..1c109621 100755 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java +++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java @@ -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; |