Closed sulovely closed 1 year ago
快速滑动时,比如从第0页滑到第6页,onPagerIndexSelected回调只会在滑动停止的时候会回调最后一页,导致指示器不会显示中间1,2,3,4,5页的状态 device-2023-10-12-164952.webm
只有在滚动完成时才会去计算当前页码位置。滚动中不计算。
快速滑动时,比如从第0页滑到第6页,onPagerIndexSelected回调只会在滑动停止的时候会回调最后一页,导致指示器不会显示中间1,2,3,4,5页的状态 device-2023-10-12-164952.webm