https://kotlinlang.org logo
#room
Title
# room
t

Tower Guidev2

07/12/2022, 6:45 AM
Hi does room support customisations to Dao generation that can resolve these build errors?
Copy code
Error:Not sure how to convert a Cursor to this method's return type
m

Michael Marshall

07/12/2022, 7:07 AM
What's your return type?
t

Tower Guidev2

07/12/2022, 7:57 AM
arrow.core.Either
I knew Room wouldnt support this OOTB, however i was interested to see how "customisable" Room could be 😄
m

Michael Marshall

07/12/2022, 7:58 AM
Haha probably a lot easier (and more sensible) to create an entity type with the same properties and map between the two
👍 2
🙌 1
6 Views