diff options
author | Andrew Dolgov <[email protected]> | 2013-08-29 13:20:17 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-08-29 13:20:17 +0400 |
commit | 0e751f5db266f83fcd514ea02a32485936f6cd55 (patch) | |
tree | 1aaaaf3b92a033d32f6ad4af74e42e3f34fe05ad /src | |
parent | 02a8162956d34e785721d80e6baa5d84e5d837e8 (diff) |
replace smooth scrolling with setSelection(0) on headlines refresh (refs
#767)
Diffstat (limited to 'src')
-rw-r--r-- | src/org/fox/ttrss/HeadlinesFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |