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
{{ message }}
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.
Directly to the picker do not appeal
And at the start I get the following
java.lang.ArrayIndexOutOfBoundsException: length=729; index=-1
at java.util.ArrayList.get(ArrayList.java:439)
at com.github.florent37.singledateandtimepicker.widget.WheelPicker.setDefaultDate(WheelPicker.java:252)
at com.github.florent37.singledateandtimepicker.SingleDateAndTimePicker.setDefaultDate(SingleDateAndTimePicker.java:361)
at com.github.florent37.singledateandtimepicker.SingleDateAndTimePicker.onAttachedToWindow(SingleDateAndTimePicker.java:165)
at android.view.View.dispatchAttachedToWindow(View.java:17445)
Device Nexus6P
Android 8.1.0
On the OnePlus3t (Android 8.0) and Honor 9 lite (Android 8.0) code above working great
The crash was caused when today's label was set using todayText() method or from xml. The WheelDayPicker was considering the label from resources for today position instead of the custom set label.
Version
2.0.4
Added in BottomSheetDialogFragment
Directly to the picker do not appeal
And at the start I get the following
Device Nexus6P
Android 8.1.0
On the OnePlus3t (Android 8.0) and Honor 9 lite (Android 8.0) code above working great
After removing attributes in xml
Works fine. I don't know, why that attr crushing app, but it's a fact
The text was updated successfully, but these errors were encountered: