Hi there!
Awesome idea this. I have a problem though. I am trying to set min, max and value through code but i keep getting Null Pointer Exception. When i set it in XML it works fine. This is what i try:
npYob.setValue(1971);
This is what i get:
java.lang.NullPointerException: Attempt to invoke virtual method 'void com.michaelmuenzer.android.scrollablennumberpicker.ScrollableNumberPicker.setValue(int)' on a null object reference
Hi there! Awesome idea this. I have a problem though. I am trying to set min, max and value through code but i keep getting Null Pointer Exception. When i set it in XML it works fine. This is what i try:
npYob.setValue(1971);
This is what i get: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.michaelmuenzer.android.scrollablennumberpicker.ScrollableNumberPicker.setValue(int)' on a null object reference