anitaa1990 / PagingLibrary-Sample

An open source app that is refactored to demo Paging Library from Android Jetpack
170 stars 65 forks source link

How to implement in swipeRefresh #10

Closed cahyofendhi closed 6 years ago

cahyofendhi commented 6 years ago

Thanks a lot, i have read your article and very nice, but i have some question to you, i want to implement SwipeRefresh in paging, and i try to invalidate the liveDataSource but when invalidate , adapter empty and display again after load finish. can you give me an idea when start refresh , adapter not empty , adapter will be replace after refresh finish