How to convert array to arraylist in android?
Answers
Answered by
0
You can do the following:
String [] strings = new String [] {"1", "2" }; List<String> stringList = new ArrayList<String>(Arrays.asList(strings)); //new ArrayList is only needed if you absolutely need an ArrayList
Similar questions