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

K0NN4

05/28/2019, 11:14 PM
https://gyazo.com/068de3e8367ca5bccdd73cfbdef42833 Why
Copy code
CLIENT_ID
and
Copy code
REDIRECT_URI
are
Copy code
Unsresolved references
i

itnoles

05/28/2019, 11:17 PM
why you have a duplicate class name?
k

K0NN4

05/28/2019, 11:19 PM
Oops thats fixed now. But the didn't fix the first problem.
i

itnoles

05/28/2019, 11:19 PM
what is now?
k

K0NN4

05/28/2019, 11:21 PM
same thing CLIENT_ID and REDIRECT_URI are still "Unresloved references"
i

itnoles

05/28/2019, 11:22 PM
sounds like they are not in the same object.
k

K0NN4

05/28/2019, 11:23 PM
okay yeah they should have been in same object. I am really just copying code and not knowing what i am actually doing...
c

cruz

05/29/2019, 12:16 AM
If the constants weren’t private you could also reference them by using
SpotifyService.CLIENT_ID
.