Question

Hello i've been looking for a specific numeric input view and i found it in this link, but when i tried to implement the solution proposed by Will, i faced this exeption

android.view.InflateException 

after some research , i tried this answer here , but the same error still persists,is it true that com.android.internal.widget.NumberPicker does not support in Android 2.2 and later?? isn't there something that replace it ? or something that looks like it?

Was it helpful?

Solution

Please do not inflate anything in com.android. You have no idea whether that exists on any given Android device. Please note that the StackOverflow question and answer you cited is from 2009, which is very old for Android advice.

NumberPicker was added to the Android SDK back in API Level 11. Here is one backport of it to older devices, though it is not currently maintained.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top