Getting the values from an array in android
- by Rahul Varma
Hi,
I have a collection of strings and declared the strings individually as arrays using
ArrayList<String> al=new ArrayList<String>();
and called the arrays in the program by using
al=getIntent().getStringArrayListExtra("titles");
Now, instead of declaring each of the arrays i have created SongsArray.java like below...
public…