android / codelab-android-paging

Jetpack Paging codelab
Apache License 2.0
494 stars 263 forks source link

A screen flashes when you refresh the page #191

Closed lifuyuan123 closed 3 years ago

lifuyuan123 commented 3 years ago

Add SwipeRefreshLayout, and run Adapter :: Refresh in the drop-down list. The page flashes

tunjid commented 3 years ago

@lifuyuan123 As Adapter :: Refresh causes a new PagingData to be created, this is to be expected. Please file a bug on the Paging Buganizer detailing the preferred behavior. cc @dlam