prevent NPE
This commit is contained in:
parent
91bac97dca
commit
3682693c10
2 changed files with 5 additions and 5 deletions
|
@ -120,7 +120,7 @@ android {
|
|||
targetSdkVersion 28
|
||||
multiDexEnabled true
|
||||
versionCode 1500
|
||||
version "2.8.1.1"
|
||||
version "2.8.1.2-dev"
|
||||
buildConfigField "String", "VERSION", '"' + version + '"'
|
||||
buildConfigField "String", "BUILDVERSION", '"' + generateGitBuild() + '-' + generateDate() + '"'
|
||||
buildConfigField "String", "REMOTE", '"' + generateGitRemote() + '"'
|
||||
|
|
|
@ -36,10 +36,10 @@ public class NumberPicker extends LinearLayout implements View.OnKeyListener,
|
|||
Button minusButton;
|
||||
Button plusButton;
|
||||
|
||||
Double value;
|
||||
Double minValue = 0d;
|
||||
Double maxValue = 1d;
|
||||
Double step = 1d;
|
||||
double value = 0;
|
||||
double minValue = 0d;
|
||||
double maxValue = 1d;
|
||||
double step = 1d;
|
||||
NumberFormat formatter;
|
||||
boolean allowZero = false;
|
||||
TextWatcher textWatcher = null;
|
||||
|
|
Loading…
Reference in a new issue