You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
There's a bug that is being reported by crashlytics on Android 5 and 6 and I faced when testing on Android 4.4 that causes the app to crash when using the spinner.
it's working fine on Android 10 and Android 8
this the logcat
java.lang.NullPointerException
at android.widget.PopupWindow.update(PopupWindow.java:1375)
at com.skydoves.powerspinner.PowerSpinnerView$updateSpinnerWindowSize$1.run(PowerSpinnerView.kt:496)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)
Is there any fix for this problem as I am getting multiple crashes on Android 5 and 6.
Thanks.
The text was updated successfully, but these errors were encountered:
basemosama
changed the title
App Crash on Android 6 and below when using the spinner in dialog fragment
App Crash on when using the spinner Android 6 and below
Oct 5, 2020
Hi, @basemosama.
The crash would occur when we call setItems or setSpinnerAdapter before the PowerSpinnerView is initialized.
It seems to be called after finish inflating.
yes, the problem happens when I use setItems or app:spinner_item_array
it works fine in Android 10 and 11
but when I tested it on Android 6 and 4.4 it causes the app to crash.
Is it a problem with the library or is there something wrong on my implementation ?
Please complete the following information:
Describe the Bug:
Hello,
There's a bug that is being reported by crashlytics on Android 5 and 6 and I faced when testing on Android 4.4 that causes the app to crash when using the spinner.
it's working fine on Android 10 and Android 8
this the logcat
Is there any fix for this problem as I am getting multiple crashes on Android 5 and 6.
Thanks.
The text was updated successfully, but these errors were encountered: