icerockdev/moko-paging

Refresh not working while loading next page

Dorofeev opened this issue · 0 comments

Refresh should have higher priority than loadNextPage

Actual result:
refresh will not start, if nextPageLoading is in progress.

suspend fun refreshSuspend() {        
   if (mNextPageLoading.value) return
   ...
}

Expected result:
next page loading canceled
refresh started