replace smooth scrolling with setSelection(0) on headlines refresh (refs
#767)
This commit is contained in:
parent
02a8162956
commit
0e751f5db2
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user