Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Component used: Version used: androidx.viewpager:1.0.0 Devices/Android versions reproduced on:
I want to calculate view exposure time.
If the view in a ViewPage, i add a 'OnPageChangeListener' to the ViewPage and expect the 'onPageSelected' callback could be invoked after page changed, so i can calculate view exposure state in this callback method.
But unfortunately, when i call the 'setCurrentItem(position, smoothScroll=false)' method, view exposure state can't be calculated correctly in the 'onPageSelected callback' because view is not scrolled in that moment.