Hi, can this add on accomodate lazy loading? i have a spring service that h

Hi, can this add on accomodate lazy loading? i have a spring service that has pagination capabilities, i was thinking if this can work well with that? my service can accept offset and limit parameters.

Thanks for the Add on, please ignore my question above. I have tried implementing my own DataProvider that consumes Paged spring data services and it works with the add on.

private DataProvider<UserProfileView, Void> createDataProviderSpringDataAdapter(
						UserProfileViewService userProfileViewService ) {
				DataProvider<UserProfileView, Void> dataProvider = DataProvider.fromCallbacks(
								// First callback fetches items based on a query
								query -> {
										// The index of the first item to load
										int offset = query.getOffset();

										// The number of items to load
										int limit = query.getLimit();

										int page = offset / limit;

										List<UserProfileView> userProfileViews = new ArrayList<>(
														userProfileViewService.findAllUserProfileViews( page, limit ) );

										return userProfileViews.stream();
								},
								// Second callback fetches the number of items
								// for a query

								query -> userProfileViewService.countUserProfileViews() );
				
				return dataProvider;
		}

and then i just use this in the paginated grid object.

e.g
paginatedGrid.set(createDataProviderSpringDataAdapter())

Thx