typo
This commit is contained in:
parent
23c23ea0b8
commit
9b78839f5d
|
@ -188,11 +188,11 @@ public class NumberPicker extends LinearLayout implements View.OnKeyListener,
|
|||
});
|
||||
}
|
||||
|
||||
public void setParams(Double initValue, Double minValue, Double maxValue, Double step, NumberFormat formater, boolean allowZero, Button okButton, TextWatcher textWatcher) {
|
||||
public void setParams(Double initValue, Double minValue, Double maxValue, Double step, NumberFormat formatter, boolean allowZero, Button okButton, TextWatcher textWatcher) {
|
||||
if (this.textWatcher != null) {
|
||||
editText.removeTextChangedListener(this.textWatcher);
|
||||
}
|
||||
setParams(initValue, minValue, maxValue, step, formater, allowZero, okButton);
|
||||
setParams(initValue, minValue, maxValue, step, formatter, allowZero, okButton);
|
||||
this.textWatcher = textWatcher;
|
||||
if (textWatcher != null)
|
||||
editText.addTextChangedListener(textWatcher);
|
||||
|
|
Loading…
Reference in a new issue