How to use Animated.diffClamp in react native
问题 Any code example of how to implement Animated.diffClamp? I'm trying to create a header scroll animation like the one featured in the google play app. I already hide the header when you start scrolling down, but the problem is that I want to show the header again as soon as you start scrolling up, it shows only when you reach the top of the view. class Services extends Component { constructor(props){ super(props); this.state = { scrollY : new Animated.Value(0), } } renderScrollViewContent(){