im using ScrollView in my component like that
<ScrollView height="108"
orientation="horizontal"
sdkToggleNavButton>
.
.
.
some content
</ScrollView>
with scroll width about 1200, i'm looking for some way that when the component opens it will appears in the middle of that scrollView
Use scrollView.scrollToHorizontalOffset(position);
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