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