In the above image, blue boxes represents FlatList
.
When I scroll down in the FlatList
, I want the green and yellow view to move above the screen and I want the green part to be sticky at top of the screen while the yellow view disappears from the top of the screen.
I've been able to move yellow view above screen and make the green view sticky at top.
But I also want the FlatList
to move along when the green view moves above it, dynamically changing the height of FlatList
.