Assigned
Status Update
Comments
[Deleted User] <[Deleted User]> #2
I face with the same problem. I have different pageMargin in landscape and portrait and when viewpager is scrolled for the more than first position, after rotating device it is shifted.
I beleive the problem is inside onSizeChanged that is called after onConfigurationChanged, it has following code:
if (w != oldw) {
recomputeScrollPosition(w, oldw, mPageMargin, mPageMargin);
}
w always not equals oldw when changing orientation, so recomputeScrollPosition is called, but whit the same values for margin and oldMargin.
This should be fixed.
I beleive the problem is inside onSizeChanged that is called after onConfigurationChanged, it has following code:
if (w != oldw) {
recomputeScrollPosition(w, oldw, mPageMargin, mPageMargin);
}
w always not equals oldw when changing orientation, so recomputeScrollPosition is called, but whit the same values for margin and oldMargin.
This should be fixed.
ni...@gmail.com <ni...@gmail.com> #3
[Comment deleted]
ni...@gmail.com <ni...@gmail.com> #4
I found the same problem in suport library v4, wrong align happens only when ViewPager has a page margin > 0.
Description
BUILD INFO
- Device type: Pixel 6a
- OS version: Android 13
- Biometric library version: androidx.biometric:biometric:1.1.0
STEPS TO REPRODUCE
[Be as specific as possible please]
1. Open Activity on top of the lock screen when push notification arrive
2. Click button to open Biometric Prompt
EXPECTED RESULTS
Biometric prompt shown
OBSERVED RESULTS
Biometric prompt not shown. but if you place your finger on the scanner it accept and call the `onAuthenticationSucceeded` callback method
NUMBER OF TIMES YOU WERE ABLE TO REPRODUCE (e.g. 3/10) 10/10 Everytime