Loading data to TextView in Android

前端 未结 5 1905
生来不讨喜
生来不讨喜 2021-01-28 23:22

I have a XML tag like \"Yes,No,Dontknow \" and I am parsing the XML file and getting the data. Now I need to display each option in separate TextView, i.e: \'yes\' should be dis

5条回答
  •  迷失自我
    2021-01-29 00:03

    parse xml file store that in a string.take an array like String[] array = parsedstring.split(","); then take 3 text views ,put array[0],array[1],array[2] on to textview

提交回复
热议问题