android kotlin list to comma separated string code example
Example 1: jointostring kotlin
val commaSeperatedString = listOfStringColumn.joinToString { it -> "${it.nameOfStringVariable}" }
// output: One, Two, Three, Four, Five
Example 2: android arraylist to comma separated string
android.text.TextUtils.join(",", ids);