ArrayList list=new ArrayList<>();
list.add("A");
list.add("B");
list.add("C");
list.add("D");
String[] stringArr=TextUtils.join(",",list).split(",");
ArrayList list=new ArrayList<>();
list.add("A");
list.add("B");
list.add("C");
list.add("D");
String[] stringArr=TextUtils.join(",",list).split(",");
For further actions, you may consider blocking this person and/or reporting abuse
Elozino Ovedhe -
Kiolk -
Eevis -
mzakk -
Top comments (1)
Isn't it more performant to use the buildin method
toArray()
. So the code would be: