开发者

Android convert the ArrayList<HashMap<String,String>> mylist to stringarray

I have create an android application program..I dont know how t开发者_高级运维o convert the ArrayList<HashMap<String,String>> mylist to string array..pls tell some idea.Thanks in advance


Create a new ArrayList<String>, traverse the "mylist", append one after one element into newly created list and finally use toArray(T[]) method of newly created list to obtain a string array.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜