MiSikora
10/01/2017, 4:20 PMdata class Round(
@ColumnInfo(name = "id")
val id: Long,
@ColumnInfo(name = "name")
val name: String,
@ColumnInfo(name = "description")
val description: String,
@ColumnInfo(name = "measurements_count")
val measuredCount: Int
)
Entities and Pojos must have a usable public constructor. You can have an empty constructor or a constructor whose parameters match the fields (by name and type).
Tried the following constructors but they failed to match:
Round(long,java.lang.String,java.lang.String,int) : [arg0 : null, arg1 : null, arg2 : null, arg3 : null]
gildor
10/02/2017, 1:07 AMMiSikora
10/02/2017, 5:58 AMgildor
10/02/2017, 6:07 AMMiSikora
10/02/2017, 8:50 AMgildor
10/02/2017, 8:54 AM