java - Can I have arrayList of string in realm object android -
as dont have list data type in realm, how can use arraylist<string>
in realm object?
had same question arraylists of custom models make i.e. arraylist<custommodel>
understand first have make realmobject of same custom model using
public class customobject extends realmobject { private string name; private string age; }
and can use
private realmlist<customobject> customobjectlist;
in realmobject
do have same arraylist of string?
1. making string object
2. use object in realm list
yes, have manually box strings in stringobject. we'd add support realmlist<string>
, realmlist<integer>
, etc., it's long way out.
Comments
Post a Comment