someone can help me why is not auto importing the references in android studio. I’m new learning kotlin and after learn a bit Java for android studio I decided learn what is new with kot. the problem what I’m getting is errors when I’m casting a button to implement a method, I though had to create a variable called button instead only need to write the ID of the object what I need but after following a tutorial of create a simple count number with seekbar I’m just getting errors even i copied the code to understand but there’s not way to import the methods, do I need to set up some things to enable imports to kotlin or what can I do then?
submitted by /u/BarrelHydra404
[link] [comments]