idanatz / OneAdapter

A Viewholderless Adapter for RecyclerView, who supports builtin diffing, states (paging, empty...), events (clicking, swiping...), and more.
MIT License
470 stars 45 forks source link

Retry button #45

Closed genaku closed 2 years ago

genaku commented 3 years ago

Is it possible to add retry button (and message TextView to show some error hint message) to paging module? (Like in Android Paging 3).

idanatz commented 3 years ago

Hey, I can add a manual trigger to the paging module if it will help your use case. Regarding the error or hint message, that's up to your implementation, the adapter does not trigger UI stuff by itself. Based on your logic, when paging starts or failed you can show a Textview within the adapter using another ItemModule or any other way based on your needs.

Waiting for you feedback

idanatz commented 2 years ago

?