Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

XmlRes

@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.FIELD, AnnotationTarget.LOCAL_VARIABLE]) class XmlRes
androidx.annotation.XmlRes

Denotes that an integer parameter, field or method return value is expected to be an XML resource reference.

Summary

Public constructors

Denotes that an integer parameter, field or method return value is expected to be an XML resource reference.

Public constructors

<init>

XmlRes()

Denotes that an integer parameter, field or method return value is expected to be an XML resource reference.