objectbox / objectbox/objectbox-java
Set offset and limit before query build
Open
@greenrobot-team is already working on this.
Since Sep 18, 2018.
enhancement
- Dominant language
- Java
- Stars
- 4.6k
- Forks
- 311
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.