fix(unofficial-quotes): try to fix the sudden reload to the top
This commit is contained in:
parent
86512e237e
commit
519cb672d2
|
@ -722,7 +722,7 @@ public abstract class BaseStatusListFragment<T extends DisplayItemsParent> exten
|
|||
assert (this instanceof StatusListFragment) || (this instanceof NotificationsListFragment);
|
||||
List<StatusDisplayItem> items=this.buildDisplayItems((T) parent);
|
||||
displayItems.subList(startIndex, endIndex+1).clear();
|
||||
adapter.notifyItemRangeRemoved(startIndex, endIndex+1);
|
||||
// adapter.notifyItemRangeRemoved(startIndex, endIndex+1);
|
||||
boolean isEmpty=displayItems.isEmpty();
|
||||
displayItems.addAll(startIndex, items);
|
||||
if(!isEmpty)
|
||||
|
|
Loading…
Reference in New Issue