How can I add a KDoc that links to a resource file...
# getting-started
j
How can I add a KDoc that links to a resource file on Android? I have this array resource that I wanted to add as KDoc and I've tried
[R.array.items][<package>.R.array.items] but it just navigates to the generated R file
. Also tried using
[R.array#countries]
but it doesn't respond when clicked.
g
You need to
import <package>.R
. But all that that'll give you is having a link to the compiled resource value.
j
Oops! I forgot to mention that that's the current behavior of it. I'll edit my question.