Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subclass a subclass of RealmObject #1025

Closed
jinthagerman opened this issue Apr 13, 2015 · 3 comments
Closed

Subclass a subclass of RealmObject #1025

jinthagerman opened this issue Apr 13, 2015 · 3 comments
Labels

Comments

@jinthagerman
Copy link

I'm relatively new to Realm, Java and Android and I was wondering whether you can subclass a subclass of RealmObject and if that subclass would then work as expected.

@cmelchior
Copy link
Contributor

Hi @jinthagerman
Unfortunately not yet. However it is something we have on our TODO and want to fix: #761

For now you will have to duplicate fields between model classes, sorry.

@donaldking
Copy link

Any update on this? when will this feature be available?

@Zhuinden
Copy link
Contributor

Considering it's "blocked on core" and "idea backlog" for Realm-Cocoa which is far ahead in terms of features (they have Results integration and fine-grained notifications too, for example), you should probably resolve this problem in a different way. For example, interfaces.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants