Clear the item list when starting loading

This commit is contained in:
Mauricio Colli 2019-10-19 21:31:16 -03:00
parent 58a626dedb
commit a5b7666188
No known key found for this signature in database
GPG Key ID: F200BFD6F29DDD85
1 changed files with 2 additions and 0 deletions

View File

@ -111,6 +111,8 @@ public abstract class BaseListInfoFragment<I extends ListInfo>
super.startLoading(forceLoad);
showListFooter(false);
infoListAdapter.clearStreamItemList();
currentInfo = null;
if (currentWorker != null) currentWorker.dispose();
currentWorker = loadResult(forceLoad)