Participe do evento ⁠#Android11: apresentação de lançamento da versão Beta no dia 3 de junho.

AttrRes

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

Denotes that an integer parameter, field or method return value is expected to be an attribute reference (e.g. android.R.attr.action).

Summary

Public constructors

Denotes that an integer parameter, field or method return value is expected to be an attribute reference (e.g.

Public constructors

<init>

AttrRes()

Denotes that an integer parameter, field or method return value is expected to be an attribute reference (e.g. android.R.attr.action).