react-native-infinite-pager
react-native-infinite-pager copied to clipboard
Add useful options to surface information to end user
-
getCurrentPage()
returns the currently active page index -
updatePagesInBuffer
allows user to specify how many pages on either side ofactive
component should re-render whenactive
changes -
isAdjacentToActive
allows user to know if a buffer page is adjacent to theactive
page
updatePagesInBuffer - that really good idea, yesterday I had it in mind.
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.