Assigned
Status Update
Comments
az...@gmail.com <az...@gmail.com> #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.
Description
Hi, I am trying to implement fingerprint and pin code auth in my app, the fingerprint is working fine and all three callbacks onAuthenticationSucceeded, onAuthenticationError and onAuthenticationFailed are called, but when I tried to do the same but with pin code no one callbacks are called. Just if I call pin check first, the onAuthenticationSucceeded is called, but onAuthenticationError and onAuthenticationFailed are not and if I call pin check after fingerprint no one callbacks is called, you can see the code in my question on stackoverflow
How can I fix it?
My device: Pixel 7 pro
Regards, Dmytro