My main component view is a ScrollView which has many views and a component which renders a flatlist. The thing is I want to scroll down the screen and when it reaches the end, where is the flatlist, start scrolling the flatlist. How can I achieve this?
I have something like this:
<ScrollView>
<View style={{flex:1}}>
<Image>
<View>
<Text></Text>
<Text></Text>
</View>
</Image>
<EventInfo/>
<Text> </Text>
<Text> </Text>
<EventHeader/>
</View>
<EventGuests/>
</ScrollView>
EventGuests is the component which renders the flatlist. This way is shown the entire list and all the screen is scrolled.