I want to concatenate an ArrayList with commas as separators. I found this answer, stating it\'s possible to use String.join in Java.
String.join
When I try to use
You can use TextUtils.join instead:
TextUtils.join
String result = TextUtils.join(", ", list);
(String.join was added in Java 8, which is why you can't use it in Android.)