onNextEnd
onNextEnd will pass the new current item-object and current page-index:
(currentItem, pageIndex) => {/*...*/}
- The item-objecthas the shape of:
{item: {/* your item */},index: // the item's index number}