I have a question. How to call a function when scroll down bottom of ScrollView in react native? Please help me. Thank so much!
It worked!
var windowHeight = Dimensions.get('window').height,
height = e.nativeEvent.contentSize.height,
offset = e.nativeEvent.contentOffset.y;
if( windowHeight + offset >= height ){
console.log('End Scroll')
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With