thellmund / Android-Week-View

Display highly customizable calendar views in your Android app
Apache License 2.0
188 stars 98 forks source link

Why not use java desugaring lib for using java8 date time on API < 26 #228

Closed iamarjun closed 3 years ago

alirazazoofy commented 3 years ago

any work around for this. I am using api 21 in my project.

iamarjun commented 3 years ago

@alirazazoofy you can try my fork if you rely on java.time API for 21, basically what I did was I added desugarding to the 'com.github.thellmund.Android-Week-View:jsr310 enabling me to downgrade to 21 for my use case. @thellmund what do you think of my approach, is there a better way to do it, till now I don't seem to find any problems with my fork

thellmund commented 3 years ago

Hi @iamarjun ✌️ Looks like a solid idea to me, so I’m adding core-library desugaring in the jsr310 module now.

alirazazoofy commented 3 years ago

thank you very much. @iamarjun @thellmund