scroll fix
This commit is contained in:
parent
957df8b4ef
commit
0e800e84c7
@ -113,7 +113,7 @@ public abstract class ListFragment extends Fragment implements OnRefreshListener
|
|||||||
|
|
||||||
case NOTIFY_SCROLL_TOP:
|
case NOTIFY_SCROLL_TOP:
|
||||||
if (layoutManager.getItemCount() > 0) {
|
if (layoutManager.getItemCount() > 0) {
|
||||||
if (settings.chronologicalTimelineEnabled()) {
|
if (layoutManager.getReverseLayout()) {
|
||||||
list.smoothScrollToPosition(layoutManager.getItemCount() - 1);
|
list.smoothScrollToPosition(layoutManager.getItemCount() - 1);
|
||||||
} else {
|
} else {
|
||||||
list.smoothScrollToPosition(0);
|
list.smoothScrollToPosition(0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user