Register now for Android Dev Summit 2019!

FontRes

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

Denotes that an integer parameter, field or method return value is expected to be a font resource reference (e.g. R.font.myfont).

Summary

Public constructors

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

Public constructors

<init>

FontRes()

Denotes that an integer parameter, field or method return value is expected to be a font resource reference (e.g. R.font.myfont).