I know that we can get the offset with
render() {
return <FlatList
onScroll={this.handleScroll}
/>
}
handleScroll = (event) => {
//get offset by using
//event.nativeEvent.contentOffset
}
But I'm not sure how to set it
contentOffset
is for ios only – Vendor