Is it possible to assign an array to an ArrayList in Java?
If you are importing or you have an array (of type string) in your code and you have to convert it into arraylist (offcourse string) then use of collections is better. like this:
String array1[] = getIntent().getExtras().getStringArray("key1"); or
String array1[] = ...
then
List allEds = new ArrayList();
Collections.addAll(allEds, array1);