https://kotlinlang.org logo
#android
Title
# android
k

K0NN4

05/29/2019, 10:16 AM
I am trying to follow this tutorial: https://tolkiana.com/how-to-use-spotifys-sdk-in-kotlin/ But My code says that function
Copy code
connect
is
Copy code
Unresolved reference
: https://gyazo.com/3d631c4c65501d0ac6025ecb63cdb74c Here is "SpotifyService" class: https://gyazo.com/ae55413d281f65b56abfcd2e3823a79f
g

gergo

05/29/2019, 10:43 AM
at the moment you have a SpotifyService class which contains a SpotifyService object. if you need it as an object remove the outer class SpotifyService