Room TypeConverter with constructer

前端 未结 4 697
我在风中等你
我在风中等你 2021-02-14 20:27

I have Room TypeConverter and I need to inject parameter to it\'s constructor

class RoomConverters(moshi Moshi) {

    @TypeConverter
    fun fromUs         


        
4条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-14 21:03

    As of August 11th 2020 there's still no fix for this from Google. Check either of these workarounds in the meantime.

    https://issuetracker.google.com/issues/142086380 https://issuetracker.google.com/issues/121067210

提交回复
热议问题