Join Slack
Is there a deadline when Kotlin Synthetics is going to go from deprecated to removed? Or any officia...
# android
j
Johan
03/03/2021, 10:31 AM
Is there a deadline when Kotlin Synthetics is going to go from deprecated to removed? Or any official place it is being specifically stated?
b
Blaž Vantur
03/03/2021, 10:33 AM
You can read about that here:
https://android-developers.googleblog.com/2020/11/the-future-of-kotlin-android-extensions.html
j
Johan
03/03/2021, 10:34 AM
Thanks. Ok, so after/during September this year synthetic are going to be unusable at all on future versions if I understand correctly.
b
Blaž Vantur
03/03/2021, 10:40 AM
I believe Kotlin Synthetics will still work after September if you don’t upgrade Kotlin to
1.4.20
or later. But is recommended to replace them with viewbinding which is not a hard task to do. You can read more about that here:
https://developer.android.com/topic/libraries/view-binding/migration
j
Johan
03/03/2021, 10:44 AM
Thank you. Seems like a none option if the cost is to permanently block newer kotlin versions. So will migrate soon rather than later.
b
Blaž Vantur
03/03/2021, 10:46 AM
I believe that is for the best yeah! 😉 Good luck with that! 😄 💪
😆 1
Blaž Vantur
03/03/2021, 10:52 AM
Also, another due date for Android developers regarding app bundles. That one is more urgent than synthetics.
https://android-developers.googleblog.com/2020/11/new-android-app-bundle-and-target-api.html
j
Johan
03/03/2021, 10:55 AM
Yeah, That is really important. Most likely Google are going to require even existing to converted next year to be able to update.
👍 4
4
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by