title: Block transition between minimum value and maximum value in NumberPicker
body: <p>I am working on an Android application. Somewhere inside, I am displaying the <code>NumberPicker</code> widget.</p>
  
  <p>How can I disable the transition between the minimum value and the maximum value?</p>
  
  <p>What I mean, I am using a number picker, with a minimum value of 0 and a maximum value of 9999. It looks like this,</p>
  
  <p><img src="https://i.stack.imgur.com/S3peim.png" alt="number picker"></p>
  
  <p>In this way, the user can quickly fling the widget to jump from 0 to 9999.
  I do not want this behavior. The number picker widget as it is now looks like a closed circle, and I am trying to see how I can break the circle exactly between the minimum and maximum value, so that it looks like this from the minimum value and maximum value:</p>
  
  <p><img src="https://i.stack.imgur.com/2A7eum.png" alt="number picker minimum value">
  <img src="https://i.stack.imgur.com/OKyKrm.png" alt="number picker maximum value"></p>
  
  <p>How can I achieve this?</p>
  
  <p>What I have tried :</p>
  
  <ul>
  <li>I searched everywhere in the <code>NumberPicker</code> API, it doesn't seem like this is something that one can simply set using a method.</li>
  <li>I think that I can use the method <code>setDisplayedValues(String[] displayedValues)</code> method to add empty strings before the minimum value and after the maximum value, so that no value is displayed before the minimum value or after the maximum value, <strong>BUT</strong> the user will still be able to fling past them or WORSE: select the empty value.</li>
  </ul>
  
  <p>Any ideas? Will I have to get my hands dirty and dig in the widget implementation? Inside the touch listener maybe?</p>