-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using CalendarPickerView inside AlertDialog 28 api #474
Comments
I don't see you calling |
I mean setSelection from the ListView class.
If you execute the code, then the focus in the calendar will be on minDate, and not on the selected date. |
I see similar problem too. scrollToDate doesn't work.
|
@EgorChe Seems like setSelection() from list view has some bug and so not scrolling to selected item ( on devices with API 28). How ever smoothScrollToPosition() is working. So as a work around try calling below and it should work.
But I agree with you @EgorChe this has to be fixed properly. |
Hi! If CalendarPickerView add inside AlertDialog, then In 28 api doesn't work scrollToPosition.
DateRangePickerDialog.java
calendar_picker_layout.xml
MainActivity.kt
activity_main.xml
The text was updated successfully, but these errors were encountered: