PowerSpinner
PowerSpinner copied to clipboard
i have this problem when i try to add it com.google.android.material.textview.MaterialTextView cannot be cast to com.skydoves.powerspinner.PowerSpinnerView
Please complete the following information:
- Library Version [e.g. v1.0.0]
- Affected Device(s) [e.g. Samsung Galaxy s10 with Android 9.0]
Describe the Bug:
Add a clear description about the problem.
Expected Behavior:
A clear description of what you expected to happen.
Hey @IZLAm90, would you share your XML file? PowerSpinner is not related to the material components. Make sure if you're getting the PowerSpinnerView using MaterialTextView. For example, if you try to get it wrong type you can face this issue, such as val spinnerView: MaterialTextView = findViewById(R.id. MaterialTextView)
@skydoves am accessing it using view binding but in production for some users am getting " Error inflating class com.skydoves.powerspinner.PowerSpinnerView (Caused by android.content.res.Resources$NotFoundException: Drawable packagename:drawable/powerspinner_arrow) ". PLease explain this issue why am getting this error for some users. What thing is casuing this issue