The Android Developer Challenge is back! Submit your idea before December 2.

IdRes

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

Denotes that an integer parameter, field or method return value is expected to be an id resource reference (e.g. android.R.id.copy).

Summary

Public constructors

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

Public constructors

<init>

IdRes()

Denotes that an integer parameter, field or method return value is expected to be an id resource reference (e.g. android.R.id.copy).