kotlin string separated by comma to arraylist code example Example: android arraylist to comma separated string android.text.TextUtils.join(",", ids);