Code example for NumberPicker

Methods: getValue

0
    } 
 
    @Override 
    protected void onDialogClosed(boolean positiveResult) {
        if (positiveResult) {
            persistString(mNumberPicker1.getValue() + "|" + mNumberPicker2.getValue());
        } 
    } 
 
    public void setMin1(int min) {
        mMin1 = min;
    } 
    public void setMax1(int max) {
        mMax1 = max;
    } 
    public void setMin2(int min) {
        mMin2 = min;
    } 
    public void setMax2(int max) {
        mMax2 = max;
Contextual code suggestions in your IDE  Get Codota for Java