I use dropdown spinner with cursor adapter. It contains e.g 1 – 100 items.
I select e.g. item 50. Item is selected. Next time when I open spinner first visible row is item 50. How can I achieve that when I open spinner it will focus to first item/first visible item will be item 1?
I mean like autoscroll up in the list, so first visible item in dropdown is 1st one and not selected one.
You can make the
Spinnerdo what you want by extending it and overriding the two methods that are responsible for setup/showing the list of values:It should work just fine for what you want to do.