Skip to content

Question about item jump #13

@309791679

Description

@309791679

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions