I am working on ArrayList & String Array.I need this Array in below format.
["abc","xyz,"pqr"]
My code snippet is as per below.
ArrayList<String> backList=new ArrayList<String>();
backList.add("abc");
backList.add("xyz");
backList.add("pqr");
String blist[]=new String[100];
for(int i=0;i<backList.size();i++){
blist[i]=backList.get(i);
}
Log.e("Log","Array in String="+blist.toString());
Your answer would be appreciated