From 0e751f5db266f83fcd514ea02a32485936f6cd55 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 29 Aug 2013 13:20:17 +0400 Subject: [PATCH] replace smooth scrolling with setSelection(0) on headlines refresh (refs #767) --- src/org/fox/ttrss/HeadlinesFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/fox/ttrss/HeadlinesFragment.java b/src/org/fox/ttrss/HeadlinesFragment.java index 31dcdf5e..1014e836 100644 --- a/src/org/fox/ttrss/HeadlinesFragment.java +++ b/src/org/fox/ttrss/HeadlinesFragment.java @@ -378,7 +378,7 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener, Log.d(TAG, "scroll hack"); ListView list = (ListView)getView().findViewById(R.id.headlines); m_autoCatchupDisabled = true; - list.smoothScrollToPosition(0); + list.setSelection(0); m_autoCatchupDisabled = false; } }