title: How to fill Spinner with int value
body: <p>When normally populating a Spinner as I have done in the past I normally use a SpinnerAdapter then normally have items in resources to populate it. </p>
  
  <p>I have currently though a different query, I have in my code a user input for an int and I want my spinner to populate with numbers up to the user selected number. So if the user enters the number '5' it is saved to an int variable. I then want the Spinner to show 1,2,3,4,5 as choices.</p>
  
  <p>I am really not sure how I would approach this.</p>
  
  <p>Thanks, Oli</p>