added two list andorid
var first: ArrayList<Dns> = arrayListOf()
var second: ArrayList<Dns> = arrayListOf()
first.add("1")
first.add("2")
first.add("3")
second.add("4")
second.add("5")
second.add("6")
first.addAll(second)
first.forEach(){
//You can use your data in one arraylist
}