Fixed
Status Update
Comments
da...@google.com <da...@google.com> #2
Wondering is there any workaround currently?
tn...@google.com <tn...@google.com> #3
Hi, thanks for trying Room KMP! The current alpha release indeed does not have support yet to use room-paging in a KMP project (in non-Android targets). We are working on having it available in upcoming releases and we'll update
tn...@google.com <tn...@google.com> #4
da...@google.com <da...@google.com> #5
#4 Sorry I don't get it. The key point is it couldn't generate the PagingSource from DAO, how do you connect with kmp-paging?
Description
Room recently moved some of its APIs and source from Java to Kotlin and int def enforcement seems to have been lost with the move.
Given the IntDef in Room OnConflictStrategy , wrong usage of it in Kotlin gives no warning:
the enforcement is also lost in Java sources:
However, if I make a new
@IntDef
along with an annotation in Java, the enforcement works fine.Let me know if you need more information!