不设置为 refresh
This commit is contained in:
parent
51d3581513
commit
3c13586113
|
|
@ -23,7 +23,7 @@ abstract class BaseMemoryRefreshLoadMoreRepository<Key : Any?, Value : Any>(priv
|
||||||
override val loadState = MutableStateFlow<LoadState?>(null)
|
override val loadState = MutableStateFlow<LoadState?>(null)
|
||||||
|
|
||||||
private val getDataFlow: Flow<Key?> = combine(keyFlow, forceUpdateFlow) { key, _ ->
|
private val getDataFlow: Flow<Key?> = combine(keyFlow, forceUpdateFlow) { key, _ ->
|
||||||
val isRefresh = key == initKey
|
val isRefresh = /*key == initKey*/ false
|
||||||
|
|
||||||
// LoadState-Loading
|
// LoadState-Loading
|
||||||
loadState.update {
|
loadState.update {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue