Comments (2)
Have you tried checking whether the NumberPicker is null?
Log.e("MainActivity", "getValue: " + numberPicker.getValue());
or
numberPicker.setOnValueChangedListener(new NumberPicker.OnValueChangeListener() {
@Override
public void onValueChange(NumberPicker picker, int oldVal, int newVal) {
Log.e("MainActivity", "newVal: " + newVal);
}
});
from numberpicker.
the log wasn't showing at all..!
But after some digging, it turns out the problem was relating to binding wrong views and it got nothing to do with your library.!
I'm sorry for that..!
And thanks for this awesome library, I think google should replace their NumPicker widget with yours since it's way much better..!
from numberpicker.
Related Issues (20)
- divider not in center HOT 1
- The library is failing to build the app saying manifest merger failed HOT 2
- The value of the right side appears too late
- Lags when dragging slowly on first item
- OnClick called as soon as the user touches
- Theres has an anr problem when scroll numberpicker
- AAPT: error: attribute np_itemSpacing (aka com.sample.myapp:np_itemSpacing) not found. HOT 1
- Issue scroll inside scrollview
- Posibility to change value with animation HOT 2
- Migrate Artifacts to Another Repository HOT 1
- The wheel keeps on scrolling HOT 2
- Feature Request HOT 2
- Migrate to Maven from Jcenter HOT 3
- Detect and stop in valid scroller positions
- Can I change only the background color of selected lines?
- Problem with release v2.4.13 on Jitpack.io HOT 1
- Custom item view is possible somehow ?
- onValueChanged called several times, with alternating values HOT 1
- [BUG] fontFamily or includeFontPadding HOT 2
- java.lang.ArrayIndexOutOfBoundsException: length=12; index=-1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from numberpicker.