icerockdev / moko-paging

Pagination logic in common code for mobile (android & ios) Kotlin Multiplatform development
https://moko.icerock.dev/
Apache License 2.0
59 stars 7 forks source link

Refresh logic strategy choose #43

Closed anton6tak closed 2 years ago

anton6tak commented 3 years ago

pullToRefresh reset current data. Need to create choice what to do: add only intersection between old and new data or reset all current data and show only these data which place on one screen space

Alex009 commented 2 years ago

will be available in 0.7.0. when we got error at refresh - we not reset state now. but when we got data (empty or not) we just replace current state to this new state (without merge)