Dear realm-Team,
I'm really impressed by Realm and I do like the way you're providing support and solutions on github, SO and gGroups! I like working with Realm - however there are three really big drawbacks for me:
-
No model-instantiation by = new ... - I know you're on it. I can't wait for this! Do we have to wait for the "whole" JSON-Upgrade or will there be an earlier release providing this feature?
-
No model-passing across threads. That's hindering all the great benefits of EventBus and Android Priority Job Queue. But I read that it will be possible in the further versions and I'm looking forward on this.
-
The reason for this issue:
In my model class I'm allowed to have primitive fields as well as object fields of objects that extend RealmObject.
But I'm not allowed to have a field type like RealmList<Integer> or RealmList<String>.
However it is possible to work around this by
RealmList<RealmString> names;
and
public class RealmString extends RealmObject {
private String name;
// getter & setter
It works but it's really ugly and should be unnecessary in my opinion.
Is there any improvement planned regarding this?
Thanks again for your great work - I'm glad Realm helps me developing my app!
Related PRs:
Dear realm-Team,
I'm really impressed by Realm and I do like the way you're providing support and solutions on github, SO and gGroups! I like working with Realm - however there are three really big drawbacks for me:
No model-instantiation by
= new ...- I know you're on it. I can't wait for this! Do we have to wait for the "whole" JSON-Upgrade or will there be an earlier release providing this feature?No model-passing across threads. That's hindering all the great benefits of EventBus and Android Priority Job Queue. But I read that it will be possible in the further versions and I'm looking forward on this.
The reason for this issue:
In my model class I'm allowed to have primitive fields as well as object fields of objects that extend
RealmObject.But I'm not allowed to have a field type like
RealmList<Integer>orRealmList<String>.However it is possible to work around this by
and
It works but it's really ugly and should be unnecessary in my opinion.
Is there any improvement planned regarding this?
Thanks again for your great work - I'm glad Realm helps me developing my app!
Related PRs: