As we dont have any list data type in realm, how can we use ArrayList<String>
in a realm object?
I had same question for the arrayLists of the custom models we make i.e. ArrayList<CustomModel>
but for that I understand that we first have to make RealmObject of same Custom model using
public class CustomObject extends RealmObject {
private String name;
private String age;
}
and then I can use
private RealmList<CustomObject> customObjectList;
in another RealmObject
Do i have to do same with arrayList of string?
1. Making String object
2. Use that object in Realm List