Fixed
Status Update
Comments
yb...@google.com <yb...@google.com> #2
Wondering is there any workaround currently?
da...@google.com <da...@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
ap...@google.com <ap...@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?
al...@gmail.com <al...@gmail.com> #6
Any ETA on this?
It seems like paging-common is sufficient to make room happy on non-Android targets.
We've just ran into this issue and struggling to find a solution.
It seems like paging-common is sufficient to make room happy on non-Android targets.
We've just ran into this issue and struggling to find a solution.
al...@gmail.com <al...@gmail.com> #7
No concrete ETA but we do want to migrate the room-paging
artifact to KMP before making the 2.7.0 release 'stable'.
Description
@Query("DELETE FROM book WHERE salesCnt = 0")
fun deleteUnsoldBooksSingle(): Single<Int>
will throw a main thread DB access exception if its called from the main thread since the sql compile / acquire invocation is done immediately while the actually execution of the query and data parsing is deferred.