I get below compilation errors
Realm model classes must either extend the RealmObject or implement RealmModel is considered a valid model class
In this particular scenario
class Animals extends RealmObject {
}
class Dog extends Animals {
}
I get this error for the class Dog.
This error appears when I indirectly expand RealmObject. I am Dogdistributed Animals(which in turn applies to RealmObject), not RealmObject.
source
share