I want to make a number picker in android for selecting numbers between
1 -100. I have spent quiet a few hrs exploring it, but nothing seems to work.
Please suggest a suitable way to do this.
Any help would be appreciated.
NumberPicker method setRange();
/**
* Set the range of numbers allowed for the number picker. The current value
* will be automatically set to the start.
*
* @param start
* the start of the range (inclusive)
* @param end
* the end of the range (inclusive)
*/
public void setRange(int start, int end) {
mStart = start;
mEnd = end;
mCurrent = start;
updateView();
}