Fixed a bug where values typed into the text of a number picker could be ignored

pull/14/head
Sam Bosley 14 years ago
parent 860a07ba28
commit b0e15ce502

@ -450,6 +450,8 @@ public class NumberPicker extends LinearLayout implements OnClickListener,
* @return the current value.
*/
public int getCurrent() {
String str = String.valueOf(((TextView) mText).getText());
validateCurrentView(str);
return mCurrent;
}
}
Loading…
Cancel
Save