Sorry for my stupid question but does anybody let ...
# android
k
Sorry for my stupid question but does anybody let me know how can import synthetic automatically ? Like :
import kotlinx.android.synthetic.main.activity_main.*
Or any shortcut do it by your hand ?
a
kingvhit: You will have to add
apply plugin: 'kotlin-android-extensions
to your
build.gradle
to make your studio show import options
k
@akbarsha03 Thanks you for your suggest, I have resolved this problem.
👍 1
s
@kingvhit how did you resolve it?