kuuuurt / multiplatform-paging

Kotlin Multiplatform library for Pagination
Apache License 2.0
251 stars 22 forks source link

Issues in using map on PagingData for IOS #28

Open jeevsurendran opened 2 years ago

jeevsurendran commented 2 years ago

the present implementation for using map in IOS first casts PagingData into a List and then performs the map operation. later it casts the list back to paging data. the second cast fails throwing an error saying cannot cast ArrayList to Paging data. I am sure map fails but the other PagingData operations also does a double cast meaning they might fail too