NumberPicker
NumberPicker copied to clipboard
custom layout inflation error
Caused by: java.lang.ClassCastException: android.support.v7.widget.AppCompatTextView cannot be cast to android.widget.EditText Probably you this is the cause?
I found that when using androidx I too got an inflation error on the custom layout when it tried to cast TextView to an EditText. I was able to fix the situation by replacing the TextView tag in the sample number_picker_custom_layout code with an EditText tag.
@traviju: Can you please include bluefirepatrick's solution in your readme. It saves a lot of searching and time!