Open ThynkSight opened 2 years ago
PrimeCalendar today = new CivilCalendar(); PrimeCalendar tomorrow = new CivilCalendar(); tomorrow.add(Calendar.DATE, 1);
LightThemeFactory themeFactory = DatePickerTheme.Companion.getTheme(); PrimeDatePicker datePicker = PrimeDatePicker.Companion.dialogWith(today) .pickSingleDay(callback) .initiallyPickedSingleDay(startDate) .disabledDays(weekends) .minPossibleDate(tomorrow) .applyTheme(themeFactory) .build(); datePicker.show(requireActivity().getSupportFragmentManager(), "SOME_TAG");
https://user-images.githubusercontent.com/106729791/176512055-0eaf1479-cd6e-4428-8a42-5a43678b9a13.mp4
PrimeCalendar today = new CivilCalendar(); PrimeCalendar tomorrow = new CivilCalendar(); tomorrow.add(Calendar.DATE, 1);
https://user-images.githubusercontent.com/106729791/176512055-0eaf1479-cd6e-4428-8a42-5a43678b9a13.mp4