How to make multiple inheritance in Kotlin with data class and interface?
So i have very specific case. I have super class tile
open class Tile(@Transient open val type: String, @Transient open val id: String)
I have post tile that is currently Interface
interface PostTile {
val id: String
val author: Author
val createdDate: String
var text: PostText?
val topComment: Comment?
val seeAllComments: DeeplinkAction?
val tags: List?
}
And then all of my different type posts extends Tile and PostTile for example
data class MediaTile(...