Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about item jump #13

Open
309791679 opened this issue Jun 9, 2023 · 0 comments
Open

Question about item jump #13

309791679 opened this issue Jun 9, 2023 · 0 comments

Comments

@309791679
Copy link

Example:

Number of projects: 10

Mode: Infinite Loop

ItemBuilder: (context, itemIndex, realIndex){

After scrolling left, the latest realIndex=-5, itemIndex=1

_ Controller. animateToItem (-4) corresponds to itemIndex=2

}

RealIndex=-3, itemIndex=3

Click the button to jump to controller. animateToItem (3)

The scrolling method is strange, I understand, but I need to change this situation

For example, the current realIndex=-42 itemIndex=5

Controller. animateToItem (3) realIndex=-40 instead of 3

Do you have any ideas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant