Template_talk:Javadoc:Android

Template talk:Javadoc:Android

Template talk:Javadoc:Android


Do not subst this template. This template is intended to link to the current Javadoc pages for the most recent release of Android API. If you substitute the template using {{subst:Javadoc:Android|...}} then the link will not be updated when the root URL for this page is updated.

WikiProject iconJava Template‑class
WikiProject iconThis template is within the scope of WikiProject Java, a collaborative effort to improve the coverage of Java on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

Usage

These are the common forms of usage for this template:

More information Type this, To get this ...

In the above example, clone() can be any member documented in the Javadoc that isn't a class or interface, so {{Javadoc:Android|java/lang|System|out}} produces System.out. For a class or interface member, the class name is OuterClass.InnerClass, so {{Javadoc:Android|java/lang|Character.Subset}} produces Character.Subset.

The Javadoc URLs don't include the generic parameterized types. To get the type parameters to display, specify a class and/or member parameter to the template to override the name of the displayed class and/or member name. Note that the parameterized type notation uses angle brackets (< and >), so type parameter names that match HTML markup tags need to use the character encodings &lt; for < and &gt; for >.

More information Type this, To get this ...

The URL to a method uses the fully-qualified path name of the parameter types. The member parameter can be used to use the simple type name of method parameters, as shown in the preceding table, or even to eliminate the parameters entirely.

Finally, if none of the above work for the displayed text, supplying a name parameter allows the entire package/class/member name displayed to be replaced. (However, the name parameter won't override the text displayed when using the {{Javadoc:Android}} form.)

More information Type this, To get this ...

Share this article:

This article uses material from the Wikipedia article Template_talk:Javadoc:Android, and is written by contributors. Text is available under a CC BY-SA 4.0 International License; additional terms may apply. Images, videos and audio are available under their respective licenses.