https://kotlinlang.org logo
#compose
Title
# compose
g

Gal Kohen

08/29/2022, 1:10 PM
Hi, Does anyone now what are the risks using “@OptIn(ExperimentalComposeUiApi::class)” ? Can it cause a run time exceptions when it will change in the future?
d

Didier Villevalois

08/29/2022, 1:13 PM
The only risk is that, on subsequent Compose UI version, you'll have to migrate your code to handle the possible future API changes. If you never bump your Compose UI version, your code will continue to work as it is now.
g

Gal Kohen

08/29/2022, 1:19 PM
Thanks a lot !
d

Didier Villevalois

08/29/2022, 1:36 PM
You're welcome!
7 Views