2
i have a scrollview in React Enable, but it moves only with the user’s touch. What method or how could I make it move when I press a button? if you want scrollview code:
showsHorizontalScrollIndicator={false} //desabilita a barra de rolagem
scrollEventThrottle={10}//frequencia de atualizacao da posicao
pagingEnabled
onScroll={
Animated.event(
[{ nativeEvent: { contentOffset: { x: this.animVal } } }]
)
}
>