react-native-infinite-pager icon indicating copy to clipboard operation
react-native-infinite-pager copied to clipboard

Add useful options to surface information to end user

Open rkstar opened this issue 2 years ago • 1 comments

  • getCurrentPage() returns the currently active page index
  • updatePagesInBuffer allows user to specify how many pages on either side of active component should re-render when active changes
  • isAdjacentToActive allows user to know if a buffer page is adjacent to the active page

rkstar avatar Jan 23 '23 21:01 rkstar

updatePagesInBuffer - that really good idea, yesterday I had it in mind.

image

when I'm at the first date on the calendar I'm able to move right once and 6 times to the right. So I don't need 6 screens from left and 6 from right.

ryskin avatar Nov 14 '23 02:11 ryskin