Is it currently possible in the library to have a variable height for the collapsable header?
BIGGER PICTURE: What I'm trying to achieve is essentially an instagram profile layout with a header at the top of the page containing the user's information and then a set of tabs which contain FlatLists of a users' uploaded images WITH an infinite scroll...

(Just random image off the internet)
There is an issue with having a FlatList inside a ScrollView: facebook/react-native#22008
I've tried several approaches but now what I'm thinking is to have a createMaterialTopTabNavigator with the FlatLists in their separate screens. Then when you scroll on either screen, the header at the top scrolls up...
PROBLEM 1. - The height of the user details at the top may be variable based? This is because if you are looking at your own profile or the profile of someone else, then the height may change. (One solution would be of course to redesign so that they are not... But I'm not looking for that at the moment).
PROBLEM 2. - I'd like to pull to refresh on the whole page and reload the data inside the top panel AND the data inside the Animated.FlatList.
I appreciate that this seems like a lot of issues in one - but I think a lot of people will be wanting this same solution.
Is it currently possible in the library to have a variable height for the collapsable header?
BIGGER PICTURE: What I'm trying to achieve is essentially an instagram profile layout with a header at the top of the page containing the user's information and then a set of tabs which contain FlatLists of a users' uploaded images WITH an infinite scroll...
(Just random image off the internet)
There is an issue with having a FlatList inside a ScrollView: facebook/react-native#22008
I've tried several approaches but now what I'm thinking is to have a
createMaterialTopTabNavigatorwith the FlatLists in their separate screens. Then when you scroll on either screen, the header at the top scrolls up...PROBLEM 1. - The height of the user details at the top may be variable based? This is because if you are looking at your own profile or the profile of someone else, then the height may change. (One solution would be of course to redesign so that they are not... But I'm not looking for that at the moment).
PROBLEM 2. - I'd like to pull to refresh on the whole page and reload the data inside the top panel AND the data inside the Animated.FlatList.
I appreciate that this seems like a lot of issues in one - but I think a lot of people will be wanting this same solution.