title: React-native - Pagination in horizontal FlatList with separators
body: <p>How to adjust horizontal FlatList with separators in order to skip separators when pagination is enabled. I want to see separators only when swiping between items. I tried to set it in getItemLayout but it doesn't work properly. I used <code>getItemLayout = (_, index) =&gt; ({ length: window.width, offset: (window.width + separatorWidth) * index, index })</code> <a href="https://i.stack.imgur.com/hlIyk.gif" rel="nofollow noreferrer">Behaviour looks like that</a></p>