i do this?
inner class combination() {
inner class LIST {
var type: Int? = null
val list: MutableList<Types> = mutableListOf()
}
var list: MutableList<LIST> = mutableListOf()
fun add(List: MutableList<Types>, type: Int) {
var x = LIST()
x.type = type;
x.list.addAll(List)
list.add(x)
}
}
There's a big difference between asking a search engine which minds only keywords, and asking a community which consists of alive persons who parse sentences slightly different.
Обсуждают сегодня