I'm trying to implement a profile layout similar to twitter's but I'm having trouble getting sufficient guides on how to accomplish such a task in react native. My approach is having some of the user details in the header and have the header components animate as the user scrolls. similar to Twitter. The profile layout should also have multiple tabs.
The closest I've come into solving this issue is by using, react-native-collapsible which allows for easy implementations of animated headers. However, I faced two major issues when trying this approach. The header is only rendered once. I tried solving this by resetting the header using navigation.setOptions()
. This approach didn't work as the header didn't animate.
I also found this answer which may be outdated as the demo app seems to not be available.
Is there a way I can achieve this?