Clear the item list when starting loading
This commit is contained in:
parent
58a626dedb
commit
a5b7666188
|
@ -111,6 +111,8 @@ public abstract class BaseListInfoFragment<I extends ListInfo>
|
||||||
super.startLoading(forceLoad);
|
super.startLoading(forceLoad);
|
||||||
|
|
||||||
showListFooter(false);
|
showListFooter(false);
|
||||||
|
infoListAdapter.clearStreamItemList();
|
||||||
|
|
||||||
currentInfo = null;
|
currentInfo = null;
|
||||||
if (currentWorker != null) currentWorker.dispose();
|
if (currentWorker != null) currentWorker.dispose();
|
||||||
currentWorker = loadResult(forceLoad)
|
currentWorker = loadResult(forceLoad)
|
||||||
|
|
Loading…
Reference in New Issue