<How to deconstruct map to list?> I have a List th...
# stackoverflow
u
How to deconstruct map to list? I have a List that contain country, I used groupBy to group them by country and now i would like to get fallowing result (for recycled view): Country1 Airport1 Airport2 Airport3 Country2 Airport4 Airport5 Airport6 could someone give me a tip on how to do this? My data class: data class Airport( val city: City, val code: String, val country: Country, val name: String, )