Clear the item list when starting loading
This commit is contained in:
parent
991776c25e
commit
03c59cbb0d
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue