Currently, we can only use limit and offset as .find(long offset, long limit)
But, what If I want to listen to query changes but with limit and offset as results? Is that possible?
Example, I have 1000 messages, but I do show for a user only 100, if a user will scroll, then new messages will be loaded. Also, query automatically updates list if, a new message will be inserted into DB, but with same offset and limit.
Sounds reasonable, keeping this as a feature request.
I really need that feature too) Is it in work?
Looking for this, too. :+1:
So if I understand correctly there is currently no way to limit the amount of objects an observable query returns, other than filtering it with properties?
Say I am only interested in the latest 5 objects, is there any way to get only the latest five objects via a query?
any update?
Is it feasible to use the ObjectBox-support for Jetpack Pagination for this?
Please see my comment on this other closed issue for more details on how to possibly do that.
Most helpful comment
Sounds reasonable, keeping this as a feature request.