Kotlin: Constructor when using parcelize
Answer #1 100 %For @Parcelize
to work you need to open
up the super's properties and override them in the child:
abstract class Goal(open var number: Int, open var name: String) : Parcelable
@Parcelize
class OperationalGoal(override var number: Int, override var name: String, var description: String) : Goal(number, name)