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  then the link will not be updated when the root URL for this page is updated.

Usage
These are the common forms of usage for this template:


 * {| border="1" cellpadding="10"

! Type this !! To get this
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }

In the above example,  can be any member documented in the Javadoc that isn't a class or interface, so   produces. For a class or interface member, the class name is, so   produces.

The Javadoc URLs don't include the generic parameterized types. To get the type parameters to display, specify a  and/or   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   for   and   for.


 * {| border="1" cellpadding="5"

! Type this !! To get this
 * }
 * }
 * }
 * }
 * }
 * }
 * }

The URL to a method uses the fully-qualified path name of the parameter types. The  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  parameter allows the entire package/class/member name displayed to be replaced. (However, the  parameter won't override the text displayed when using the   form.)


 * {| border="1" cellpadding="5"

! Type this !! To get this
 * }
 * }
 * }
 * }