Skip to content

快速滑动页面,在第一个和最后一个页面会有短暂的卡顿的现象 #7

@tongfuzz

Description

@tongfuzz

如果快速滑动页面,onPageScrollStateChanged方法并不会走到ViewPager2.SCROLL_STATE_IDLE状态,在ViewPager2.SCROLL_STATE_IDLE时调用setCurrentItem(fixCurrentItem, false)并不会调用,页面也就不会再滑动,所以就会有短暂的卡顿现象

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions