When you usually fill in the Spinner, as I did in the past, I usually use the SpinnerAdapter, then there are usually elements in the resources to fill it.
Currently, I have another request, I have user input for int in the code, and I want my counter to fill in numbers up to the number selected by the user. Therefore, if the user enters the number "5", it is stored in the int variable. Then I want Spinner to show 1,2,3,4,5 as options.
I'm really not sure how I approach this.
Thanks, Olya
source share