Hi want to get the arraylist from the resources.xml is there any code for this.please give me some suggestions.Thanks in advance
I have done this way:
string.xml:
Define String Array:
Test 1 Test 2 Test 3 Test 4 Test 5 Test 6
In Activity.class / Fragment.class:
List myArrayList = Arrays.asList(getResources().getStringArray(R.array.my_string_array));
Done