Use Arrays of asList () method, the array is converted into a set, and then addAll () method to add the entire list, one step:
ArrayList<String> sList = new Array<String>();
sList.addAll (Arrays.asList ( "sing", "jump", "rap", "basketball"));
Use Arrays of asList () method, the array is converted into a set, and then addAll () method to add the entire list, one step:
ArrayList<String> sList = new Array<String>();
sList.addAll (Arrays.asList ( "sing", "jump", "rap", "basketball"));