0

I can't figure out a way to mention an XML file inside block comments in a Kotlin class. I know it is possible to tag a class or function but what about an XML file in an Android project.

Something like this where nav_graph.xml is the file to be tagged:


/**
 * For details check [nav_graph]
 */

Wahib Ul Haq
  • 4,185
  • 3
  • 44
  • 41
  • You mean like this? https://stackoverflow.com/questions/41433645/how-to-reference-an-xml-file-in-android-javadoc – Ivan Wooll Sep 09 '19 at 15:21
  • I tried the approaches mentioned but not working, unfortunately. There's no auto-complete and doesn't end up as a clickable link which is the whole point. – Wahib Ul Haq Sep 09 '19 at 15:36

1 Answers1

0

It doesn't appear on their official documentation that you can actually link XML/Resources. Just classes, functions, and variables. KDocs is a simpler in features compared to javadocs.

Dallas Phillips
  • 371
  • 2
  • 15