I have a RealmObject (let\'s say Owner) and it has RealmList. Cat has a property name. How do I q
RealmObject
Owner
RealmList
Cat
name
. can be used when query child object/list fields, for your case try below:
.
RealmResult<Owner> owners = realm.query(Owner.class) .contains("cats.name", "Garfield") .findAll();