-
Notifications
You must be signed in to change notification settings - Fork 271
Closed
Description
When I run my App with Paging Library version "3.0.0-alpha02" the LoadState Listeners stop working.
binding.list.adapter = adapter.withLoadStateHeaderAndFooter(
header = ReposLoadStateAdapter { adapter.retry() },
footer = ReposLoadStateAdapter { adapter.retry() }
)
You can replicate this issue by:
-
Setting the paging library version to "3.0.0-alpha02"
implementation "androidx.paging:paging-runtime:3.0.0-alpha02" -
Running the app, loading the list, then disabling the network.
Once that is done you should see an error message and a button on the footer, just like on the image below,
Enable your network and click the retry button. It will not work.
Expected behavior:
I expect to click on the retry button and load the current list just like it happened on version "3.0.0-alpha01" of the Paging library
implementation "androidx.paging:paging-runtime:3.0.0-alpha01"
Metadata
Metadata
Assignees
Labels
No labels
