how to write code for spinner
position is constant when we change the orientation from portrait to landscape.. For example in a spinner
there are 4 items if i select the second position item after that
when i change the orientation that must be at second position only [i used savedInstanceState
method but i dint got the ans so kindly help me to resolve this iss]
Asked
Active
Viewed 584 times
0

Hussain
- 5,552
- 4
- 40
- 50

laxmanperamalla
- 551
- 2
- 5
- 15
-
I can't figure what does happen exactly to your view when you change the orientation. Would you please clarify? Also, take a look at [this thread](http://stackoverflow.com/questions/5233741/spinner-drop-down-list-and-screen-orientation-change-problem), maybe [this one](http://stackoverflow.com/questions/1111980/how-to-handle-screen-orientation-change-when-progress-dialog-and-background-threa), and [this issue](http://code.google.com/p/android/issues/detail?id=4936) – rekaszeru Apr 15 '11 at 06:38
1 Answers
1
Take a look at this useful tutorial - How to handle Screen Orientation changes in Android

Rajath
- 11,787
- 7
- 48
- 62