Templatewhether there is a next page to load
whether there is a previous page to load
Retrieves the next page of results.
this pager with updated data
Retrieves the previous page of results.
this pager with updated data
StaticcreateCreates a CustomPager by making the initial request and parsing the response.
Function to send a request and get a response
The initial request to start pagination
The parser function to extract items and pagination state
A new CustomPager instance
A custom pager for paginated API responses where the pagination logic must be implemented by the SDK author.
SDK authors provide a parser callback to extract items and determine pagination state from responses.
TItem The type of the items in the page. TRequest The type of the request object. TResponse The type of the API response.