I have done R&D for limit in query with no success. There is one way with which to paginate data in Realm with sub list but no success with that. It shows d
Realm
You can use limit from Realm 5.6.0+. It looks like this.
limit
val myDataList = Realm.getDefaultInstance() .where(MyData::class.java) .limit(10) .findAll()
Look this document