How to merge two different classes data into one in Kotlin
I am using kotlin to building this thing I have use two different classes
class ListTitle{
var id:Int? = null
var title:String? = null
constructor(id
Int,titleString){
this.id = id
this.title = title
}
}
class ListDes{
var address:Int? = null
var des:String? = null
constructor(address
Int,desString){
this.address = address
this.des = des
}
}
i have added a arraylist in List Title and List des...