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

cavega

02/26/2021, 4:02 AM
👋 Not sure if the samples are out of date compared to the beta release, but I starting going through the tutorials and Android Studio gives me an error for
Modifier.padding()
. Am I missing something? This is with a new project created via Android Studio Arctic Fox | 2020.3.1 Canary 8. Just barely started on Lesson 1 here https://developer.android.com/jetpack/compose/tutorial
a

Afzal Najam

02/26/2021, 4:09 AM
Is it imported? Did auto-complete show any suggestions for it?
👆 1
c

cavega

02/26/2021, 4:10 AM
Well that was embarrassing. Looks like AS auto-imported
java.lang.reflect.Modfiier
. Deleted that and the IDE prompted me to pick among the available imports. Thanks.
👍 2