Hello
Is any way to temporary disable animation for .scrollTo(page) method?
I tried something like this:
but with no success...
I am trying to implement infinite scroll view (for swiping between news articles).
My Scroll view has 3 pages. So, when user swipes from 2 -> 3 the content moves from 2 to 1, from 3 to 2, and the new article loads into the third page, and ScrollView scrolls to the second page again (without animation).
Is any way to temporary disable animation for .scrollTo(page) method?
I tried something like this:
that._ScrollView.duration = 1;
that._ScrollView.scrollTo(activePage);
that._ScrollView.duration = 300;
I am trying to implement infinite scroll view (for swiping between news articles).
My Scroll view has 3 pages. So, when user swipes from 2 -> 3 the content moves from 2 to 1, from 3 to 2, and the new article loads into the third page, and ScrollView scrolls to the second page again (without animation).