https://kotlinlang.org logo
Title
b

Berkeli Alashov

05/27/2022, 9:40 PM
Reported https://issuetracker.google.com/issues/234045515 Fragments using Kotlin synthetics stops working when restored from backstack when adding Compose
z

Zach Klippenstein (he/him) [MOD]

05/29/2022, 5:26 PM
Haven't Kotlin synthetics been deprecated for a while?
j

james

05/30/2022, 12:13 AM
yes, the Kotlin Android Extensions plugin (and synthetics) were deprecated as of Kotlin 1.4.20
m

Marcin Wisniowski

05/30/2022, 7:34 PM
They are, but the blog said they will only be removed in Kotlin 1.8. I figured that since I already started migrating to Compose it doesn't make sense to do an intermediate migration to View Binding, if I am going to replace it with Compose anyway by the time Kotlin 1.8 comes. But I had to migrate to View Binding anyway due to this issue.