How to fill spinner dynamicly

view story

http://stackoverflow.com – I have next question: I have 2 spinners on my Activity. When i have nothing selected on first spinner, second spinner is disabled. Next. When i select some item on first spinner, i want to fill second spinner any items. And every time contain data on second spinner will be change. So, how i can do this ? How i can change data on my second spinner dynamicly ? At this moment i try to do next: if i have selected any item om my first spinner, i do : if(dataFromFirstSp.equals("Item 1")){ adapter2.clear(); adapter2.addAll(Some strings); adapter2.notifyDa (HowTos)