Hi there - first and foremost, thank you for your work on this library, it's quite well done and great and it's exactly what I need for my project :)
I noticed that since the library is using the java.time library, it's basically not possible to use for apps that don't support versions less than Oreo (even though the minSdk in the build gradle is 23 and not 26). In production and published apps, there'll be still plenty of users who will still use the old versions. So i decided to make some changes to remove this constraint and add a layer of compatibility.
So the library will now use java.time APIs if Version >= 26, and Calendar if < 26.
The library for now seems to work with the new changes, although i'm not sure if i'll have time to address further comments or requests for this PR. so i hope this code can be a starting point to extend the library :)
Changes
Removed constraint of needing to have Oreo to use this component (because of LocalDate/LocalDateTime etc)
- Added CompatDate/CompatTime/CompatDateTime models which act as a layer that can handle both the new java.time API and the legacy API
- Edited Pickers in the core folder accordingly, in order to use CompatDate
- Created new *PickerCompat components, which the user will use in case they don't support Oreo
Cheers