Re: [android-developers] Android: value of one spinner depends on value of other spinner

2012-02-27 Thread Akhilesh Mani
Hi, Use OnTouchListener for spinner instead of using setOnItemSelectedListener. Spineer excutes its setOnItemSelectedListener in onCreate so you getting this problem. On Fri, Dec 30, 2011 at 5:34 PM, vinitvikash wrote: > I have a problem on Android Spinner.In my application I created two > Spi

[android-developers] Android: value of one spinner depends on value of other spinner

2012-01-02 Thread vinitvikash
I have a problem on Android Spinner.In my application I created two Spinner on main layout. 'State' Spinner and 'District' Spinner. All the data on Spinner are stored in SQLite database. I want do display list of 'District' on second spinner depending on selection of particular 'State' in the first