mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-01-24 06:48:10 -05:00
MaterialDatePicker is final and thus cannot be extended to handle loss of callback on configuration changes. We aren't using ViewModel as well that would help us to persist changes till lifecycle. Fallback to how DatePicker was handling this situation with a couple of more hacks. Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>