Sololo
11/10/2021, 1:35 PMDesmond Teo
11/10/2021, 1:48 PMonErrorReturn
is expecting the same type as the one returned in map
, which is PagingSource.LoadResult.Page
. you need to specify the type explicitly, like map<PagingSource.LoadResult> { }
insteadephemient
11/10/2021, 6:28 PMSololo
11/11/2021, 2:57 AM