Ignore
@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.FIELD, AnnotationTarget.CONSTRUCTOR]) class Ignore
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
Public constructors | |
---|---|
<init>() Ignores the marked element from Room's processing logic. |
Public constructors
<init>
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.