Convert XML String to ArrayList

后端 未结 3 639
悲&欢浪女
悲&欢浪女 2021-01-22 00:04

Seems like a basic question but I can\'t find this anywhere. Basically I\'ve got a list of XML links like so: (all in one string)

I already have the \"string\" var which

3条回答
  •  囚心锁ツ
    2021-01-22 00:41

    Yes for that you have to perform XML Parsing.

    then store that in ArrayList.

    ex:

    ArrayList aList = new ArrayList();
    
    aList.add("your string");
    

提交回复
热议问题