3
votes

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

1

1 Answers

1
votes

Use scrollView.scrollToHorizontalOffset(position);