vmironov
02/13/2016, 5:11 PMI've yet to find an interesting use case for companion object inheritance, has anyone used that feature to good effect?@cedric: we use this feature a lot with parcelable objects:
data class User(val firstName: String, val lastName: String) : Parcelable {
companion object CREATOR : Parcelable.Creator<User> {
// parcelable stuff
}
}