Listview with spinner in Android

Viequefex

New Member
Hey guys I am trying to create a menu using a listview with the code I have shown below. The code I have shown will show Item1, Item2 and Item3 in a list. Now I want to be able to add a spinner to item1 and item2. Is that possible? If so how would i go about doing it. \[code\]public class MyList extends ListActivity {@Overrideprotected void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);String[] MyList = new String[] { "Item1","Item2","Item3"};setListAdapter(new ArrayAdapter<String>(this,android.R.layout.simple_list_item_1, MyList));}\[/code\]
 
Back
Top