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
Realm currently is using byte code manipulation to replace field accessors and using annotation processor to create proxy classes. Enabling RealmObject to extend from the other class/abstract class will increase a bit complexity of Realm. So it is not implemented right now. But I agree it is something we should support.
I will add your comments to #761 and dup/close this issue to that one since they are related.
I was planning to have some of my model classes extend an abstract class containing some common properties, however this currently seems impossible:
This part seems to be relevant for this behavior:
realm-java/realm/realm-annotations-processor/src/main/java/io/realm/processor/ClassMetaData.java
Line 105 in e36e69b
Is there any reason for Realm to assume either
Object
orRealmObject
as parent class?The text was updated successfully, but these errors were encountered: