Room Persistence: Error:Entities and Pojos must have a usable public constructor

前端 未结 24 1778
长发绾君心
长发绾君心 2020-12-01 09:05

I\'m converting a project to Kotlin and I\'m trying to make my model (which is also my entity) a data class I intend to use Moshi to convert the JSON responses from the API<

24条回答
  •  死守一世寂寞
    2020-12-01 09:30

    It turned out to be a bug on the library https://github.com/googlesamples/android-architecture-components/issues/49

提交回复
热议问题