last day (42 days later) » 

12:08 PM
Hi
 
yes
i am here
can you provide screenshot of your error
The way i provided
 
import kotlinx.android.synthetic.main.activity_main.*
forgot to provide you synthetic
 
okay let me try add that import statement
 
not that way
just put the button id
which your using in findViewByid
 
12:18 PM
okay
 
@animusmind don't need to import
that
 
yes it worked.. so in Kotlin, when we have to work with view, accessing it with its id is the exact way ?
 
cause ide automatically
import it
while using the button
 
12:39 PM
@Ashish
that's the same thing I had written,

Also, make sure that something like this should be present there in the import section.
just check that it is present in the import section sometimes issues come in the Android Studio IDE for that cause I wrote that just confirm elsewise it is automatically get imported
 
12:56 PM
yes you can say that
 

  last day (42 days later) »