oday
04/03/2019, 10:10 AMobjects.name
from that list and use that array independentlydiesieben07
04/03/2019, 10:12 AMval arr = list.mapNotNull {
obj -> obj.takeIf { condition }?.name
}.toTypedArray()
list.map { it.name }.toTypedArray()
oday
04/03/2019, 10:22 AM