I use CalendarView for DatePicker on Android.
android:calendarViewShown="true"
android:spinnersShown="false"
However, after using it for a while, the drawing will not be reflected immediately.
Tap a date to not display the selected state (OnDateChangeListener.onSelectedDayChange
is called but does not reflect only the drawing).
As soon as you scroll, the drawing is updated and the date you tap is finally displayed as selected.
Incidentally, instead of a dialog, we switch display and hide by switching the visibility of the parent's RelativeLayout, which includes DatePicker, to "visibility"
and "invisible"
.
I have looked into various things, but it has not been resolved, so please give me some advice.
Among onSelectedDayChange,
view.invalidate();
Is it not possible to?
617 Uncaught (inpromise) Error on Electron: An object could not be cloned
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
581 PHP ssh2_scp_send fails to send files as intended
572 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
912 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.