@Xml(name = "list")
data class TaskList(
@Attribute
var id: String,
@Element
var taskseries: List<TaskSeries>
)
Fails on
With
java.lang.NullPointerException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkNotNullParameter, parameter taskseries
Is the only solution to make the list nullable? I consider this an empty list rather than a null list.
Fails on
With
Is the only solution to make the list nullable? I consider this an empty list rather than a null list.