title: I have to create a component in react-native which looks like instagram my profile page using Flatlist because I have to use pagination
body: <p>The problem I am facing to create a component like instagram my profile page using Flatlist is I have to stick the switch tabs at the top when scrolling down. When i put whole thing in header of Flatlist and stick it at the top using property stickyHeaderIndices then it sticks the whole header which container profile image and name i Just want to stick the switch tabs(eg :- my post,tagged post) as you can see in image.
  So How can i solve this? <a href="https://i.stack.imgur.com/Jtnn8.jpg" rel="nofollow noreferrer">Instagram My Profile UI</a></p>