vivekneel
06/23/2017, 10:30 PM@Entity(tableName = CricketConfig.TABLE_NAME)
data class CricketModel(@PrimaryKey(autoGenerate = true) var id : Int = 0 ,@SerializedName("matches") var matches: List<Match> = emptyList())
Now i need to convert List<Match>
to a type that room can recognize , any idea on how to achieve this?gildor
06/24/2017, 6:16 AM