travijuu / NumberPicker

A simple customizable NumberPicker plugin for Android
MIT License
101 stars 27 forks source link

INFLATE EXCEPTION #20

Open Dave181295 opened 3 years ago

Dave181295 commented 3 years ago

Hours I'm searching for solutions.. please where is the problem ? android.view.InflateException: Binary XML file line #93: Binary XML file line #93: Error inflating class com.travijuu.numberpicker.library.NumberPicker Caused by: android.view.InflateException: Binary XML file line #93: Error inflating class com.travijuu.numberpicker.library.NumberPicker Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.newInstance0(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:343) at android.view.LayoutInflater.createView(LayoutInflater.java:647) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:790) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:730) at android.view.LayoutInflater.rInflate(LayoutInflater.java:863) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824) at android.view.LayoutInflater.rInflate(LayoutInflater.java:866) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824) at android.view.LayoutInflater.rInflate(LayoutInflater.java:866) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824) at android.view.LayoutInflater.inflate(LayoutInflater.java:515) at android.view.LayoutInflater.inflate(LayoutInflater.java:423)

SasmitaNovitasari commented 1 year ago

If you copy-paste @layout/number_picker_custom_layout from the readme, you must change TextView to EditText