You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
As getNextPage() always returns null no more than 200 Items can be downloaded.
This is a serious limitation which makes this library unsuitable for my purposes.
In a downloaded version of this project I included the missing code in the module BaseItem.
However this module is flagged "This file is generated by a tool and any changes will be overwritten".
So my solution does not have a general character. However, my fix worked.
A second correction in the file ItemCollectionPage.java fixed the problem that getNextPage() stays forever != null even if there are no more second pages. Use for this the following code
public ItemCollectionPage(final BaseItemCollectionResponse response, IItemCollectionRequestBuilder builder) {
super(response, builder);
if (response.nextLink == null) super.setNextPage(null); // Inserted this new line
}
Please address this issue asap, as the usage of this library is seriously limited at the moment.
The text was updated successfully, but these errors were encountered:
As getNextPage() always returns null no more than 200 Items can be downloaded.
This is a serious limitation which makes this library unsuitable for my purposes.
In a downloaded version of this project I included the missing code in the module BaseItem.
However this module is flagged "This file is generated by a tool and any changes will be overwritten".
So my solution does not have a general character. However, my fix worked.
A second correction in the file ItemCollectionPage.java fixed the problem that getNextPage() stays forever != null even if there are no more second pages. Use for this the following code
Please address this issue asap, as the usage of this library is seriously limited at the moment.
The text was updated successfully, but these errors were encountered: