https://kotlinlang.org logo
Title
j

jemaystermind

09/13/2017, 8:55 AM
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

geatmo

09/13/2017, 9:35 AM
You need to
import <package>.R
. But all that that'll give you is having a link to the compiled resource value.
j

jemaystermind

09/13/2017, 10:24 AM
Oops! I forgot to mention that that's the current behavior of it. I'll edit my question.