Android 11 デベロッパー プレビュー 2 が公開されました。ぜひお試しのうえ、フィードバックをお寄せください

AnyRes

public abstract @interface AnyRes
implements Annotation

android.support.annotation.AnyRes


Denotes that an integer parameter, field or method return value is expected to be a resource reference of any type. If the specific type is known, use one of the more specific annotations instead, such as StringRes or DrawableRes.

Summary

Inherited methods

From interface java.lang.annotation.Annotation