<How to merge two different classes data into one ...
# stackoverflow
u
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(idInt,titleString){ this.id = id this.title = title } } class ListDes{ var address:Int? = null var des:String? = null constructor(addressInt,desString){ this.address = address this.des = des } } i have added a arraylist in List Title and List des...