I am Working on XML parsing coming from server the xml is
<?xml version="1.0" encoding="utf-8"?>
<Activities><Activity ID="1" Title="Title1" />
</Activities
i have parse the XML and now i have my ID and Title in my ArrayList , Now I only Want to get the Title value so that i can fill my spinner(DropDown)
For getting value in arraylist i am using beans (set get beans) after getting how can i individually get the value if title
so that i can fill my Spinner with title value
Please do help
Thanks!
Create an ArrayAdapter, as below:
and set this adapter to spinner.