fix: 修改列表无法加载更多的问题
This commit is contained in:
@ -167,6 +167,8 @@ class GameServerTestV2ListViewModel(
|
||||
}
|
||||
index++
|
||||
}
|
||||
loadStatusControl(it, isRefresh)
|
||||
|
||||
var previousData = mListLiveData.value
|
||||
if (previousData == null || isRefresh) {
|
||||
previousData = ArrayList()
|
||||
@ -213,7 +215,6 @@ class GameServerTestV2ListViewModel(
|
||||
}
|
||||
}
|
||||
mListLiveData.postValue(previousData)
|
||||
loadStatusControl(it, isRefresh)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user