Android studio(v 3.4.1) refuses to recognize the `...
# android
v
Android studio(v 3.4.1) refuses to recognize the
Livedata.observe()
extension, and whenever I do a ‘go to declaration’, it keeps taking me to the java LiveData observe function. How do I get it to recognize the kotlin extension and highlight it in yellow? Already tried invalidate cache and restart
r
Make sure there’s only one namespace importing a function called
observe
v
there’s only one
l
Are you using the ktx artifact with the correct version?
v
I updated to AS 3.5 preview and that fixed the issue. Still doesn’t work on 3.4.1 though