6

I want to pass an error exception to my paging adapter via callback.onError(or callback.onRetryableError) in loadInitial or loadafter but always receive crashes. After some debugging I find this in library sources: enter image description here

It's actually what I'm receiving in my crash trace. Just "todo". Dependency version:

'androidx.paging:paging-runtime-ktx:2.1.1'

Does it ok to have such kind of exception message on production at all or I did something wrong? Anyway... Question: any other 'builtin' ways to pass loading error to adapter?

once2go
  • 1,452
  • 1
  • 13
  • 21

0 Answers0