tlaukkan / vaadin-lazyquerycontainer

Lazy Query Container is a lazy loading container implementation for accessing data from business services.
http://vaadin.com/directory#addon/117
39 stars 73 forks source link

use case when size is indeterminate #78

Closed carljmosca closed 8 years ago

carljmosca commented 9 years ago

Is there a value which can be returned by the org.vaadin.addons.lazyquerycontainer.Query.size implementation for the use case in which the actual value is not known?

turgos commented 8 years ago

We have this exact requirement on our project. Data is coming from an Rest API and API response is a Rest Page of 100 elements at a time. It only tells if the requested page is the last one or not and does not give info about the total number of elements. We need to change the size lazy as well. Do you have any ETA when this could be available? Thank you in advance, Turgos.

tlaukkan commented 8 years ago

This is not currently in the scope of LQC but if you find a working solution a pull request is appreciated.