Logical AND operation in Realm android
<p>In the business logic I have to use Logical AND operation in my query in realm but after a lot of search I have still not found any reference for it 
In iOS realm  has provided <a href="https://realm.io/news/nspredicate-cheatsheet/" rel="nofollow">nspredicate</a> but there is none for android
,Right now I'm able to do only Logical OR operation</p>

<pre><code>Realm realm = Realm.getInstance(ApplicationCotroller.getRealmConfig(getContext(), Constants.SCHEMA_LIVE));
     RealmResults&lt;DummyClass&gt; realmResults = realm.where(DummyClass.class)
     .contains("fieldName", value,Case.INSENSITIVE).or().contains("fieldName2", value,Case.INSENSITIVE).findAll();
</code></pre>