move headlines list to top if not appending on refresh
This commit is contained in:
parent
d2ca0e03f8
commit
415c76b392
@ -578,6 +578,10 @@ public class HeadlinesFragment extends Fragment {
|
|||||||
|
|
||||||
if (m_swipeLayout != null) m_swipeLayout.setRefreshing(true);
|
if (m_swipeLayout != null) m_swipeLayout.setRefreshing(true);
|
||||||
|
|
||||||
|
if (!append) {
|
||||||
|
m_list.scrollToPosition(0);
|
||||||
|
}
|
||||||
|
|
||||||
final String sessionId = m_activity.getSessionId();
|
final String sessionId = m_activity.getSessionId();
|
||||||
final boolean isCat = m_feed.is_cat;
|
final boolean isCat = m_feed.is_cat;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user