第二个 Android 11 开发者预览版现已推出,快来测试并分享您的反馈吧

IdRes

public abstract @interface IdRes
implements Annotation

android.support.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

Inherited methods

From interface java.lang.annotation.Annotation