MutableList addAll kotlin entire arraylist added as object

前端 未结 0 1471
醉酒成梦
醉酒成梦 2021-02-06 13:59

Following is my code

var items : MutableList = arrayListOf()
        items.add(TeacherDetails(it?.photo,it?.firstName,it?.lastName,it?.level))
                 


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题