Hi i am currently trying <https://github.com/casha...
# multiplatform
k
Hi i am currently trying https://github.com/cashapp/multiplatform-paging/tree/main-3.2.0-alpha05 for compose multiplatform paging but https://github.com/cashapp/multiplatform-paging/issues/5 or https://youtrack.jetbrains.com/issue/KTIJ-24195/MPP-Incorrect-type-mismatch-with-expect-[…]-type-mismatch-with-expect-actual-typealiases-in-IntelliJ i get type mismatch all over the place in Android Studio and it’s hard to read the code when there are so many wrong errors. Does anyone know how i can at least suppress those?
j
@file:Suppress("TYPE_MISMATCH")
🔥 1
k
@Jeff Lockhart thanks a lot! you saved my day .. is there also any way to suppress that collectAsLazyPagingItems cannot be found (because of the receiver type mismatch)
j
I have all of these in my tests:
Copy code
@file:Suppress("CAST_NEVER_SUCCEEDS", "TYPE_MISMATCH", "UNRESOLVED_REFERENCE")
k
hmm didn’t help for this specific issue but at least there’s just one red line left 😉
u
@Kilian One possible solution might be to migrate from the
app.cash.paging:paging-common
dependency to the newly released
androidx.paging:paging-common:3.3.0-alpha02
. You may have already tried this solution, but just in case you haven’t, it’s worth giving it a shot.