Answers for "remove duplicates from arraylist of hasmap in android kotlin"

0

remove duplicates from a list in kotlin

val a = arrayOf("a", "a", "b", "c", "c")
val b = a.distinct() // ["a", "b", "c"]
Posted by: Guest on August-17-2021

Code answers related to "remove duplicates from arraylist of hasmap in android kotlin"

Browse Popular Code Answers by Language