You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use auto-value and auto-value-parcel to generate my keys.
Persistent keys which implement Parcelable are totally OK. Like this:
@AutoValue
public abstract class PersistentKey implements Parcelable {
public static PersistentKey create() {
return new AutoValue_PersistentKey();
}
}
My problem is when I define a key which should not be persistent. Like this:
@AutoValue @NotPersistent
public abstract class NotPersistentKey {
public static NotPersistentKey create() {
return new AutoValue_NotPersistentKey();
}
}
As you know, the actual key the application uses is AutoValue_NotPersistentKey which is generated by auto-value and doesn't have @NotPersistent annotation. So Flow throws.
Maybe @NotPersistent should be annotated with @Inherited? Or make it an interface?
The text was updated successfully, but these errors were encountered:
I use auto-value and auto-value-parcel to generate my keys.
Persistent keys which implement Parcelable are totally OK. Like this:
My problem is when I define a key which should not be persistent. Like this:
As you know, the actual key the application uses is
AutoValue_NotPersistentKey
which is generated by auto-value and doesn't have@NotPersistent
annotation. So Flow throws.Maybe
@NotPersistent
should be annotated with@Inherited
? Or make it an interface?The text was updated successfully, but these errors were encountered: