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

Ignore

public abstract @interface Ignore
implements Annotation

androidx.room.Ignore


Ignores the marked element from Room's processing logic.

This annotation can be used in multiple places where Room processor runs. For instance, you can add it to a field of an Entity and Room will not persist that field.

Summary

Inherited methods