Assigned
Status Update
Comments
da...@gmail.com <da...@gmail.com> #2
Hi, thanks for reporting.
As a temporary workaround, you can probably:
- unregister your margin transformer
- register a MarginPageTransformer with an offset of 0
- viewpager2.requestTransform()
- viewpager2.adapter.notifyItemInserted()
- revert back to the original transformer
It should be indistinguishible from the user perspective when done while viewPager.getScrollState() == SCROLL_STATE_IDLE (at that stage, there is no visible offset).
If it's not there, OnPageChangeCallback will notify you once the viewpager changes to SCROLL_STATE_IDLE.
Alternatively, if you don't want the animation, a notifyDatasetChanged() should work fine. Especially if you're using Fragments, as they will be kept around.
Apologies for the extra steps. We'll look into it!
As a temporary workaround, you can probably:
- unregister your margin transformer
- register a MarginPageTransformer with an offset of 0
- viewpager2.requestTransform()
- viewpager2.adapter.notifyItemInserted()
- revert back to the original transformer
It should be indistinguishible from the user perspective when done while viewPager.getScrollState() == SCROLL_STATE_IDLE (at that stage, there is no visible offset).
If it's not there, OnPageChangeCallback will notify you once the viewpager changes to SCROLL_STATE_IDLE.
Alternatively, if you don't want the animation, a notifyDatasetChanged() should work fine. Especially if you're using Fragments, as they will be kept around.
Apologies for the extra steps. We'll look into it!
ve...@google.com <ve...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-master-dev
commit f3df487541c41b9b0e81199a73eaeda058cab7a9
Author: Jakub Gielzak <jgielzak@google.com>
Date: Thu Aug 01 22:20:00 2019
Fix for PageTransformer + dataSet animations clash
Suspends data-set change animations in the presence of a
PageTransformer.
Bug: 134658996
Test: ./gradlew viewpager2:connectedCheck
Change-Id: I873f7233a87b553ef6f410a76b35e6567bd4dc80
A viewpager2/src/androidTest/java/androidx/viewpager2/widget/PageTransformerItemAnimatorTest.kt
M viewpager2/src/main/java/androidx/viewpager2/widget/ViewPager2.java
https://android-review.googlesource.com/1095609
https://goto.google.com/android-sha1/f3df487541c41b9b0e81199a73eaeda058cab7a9
Branch: androidx-master-dev
commit f3df487541c41b9b0e81199a73eaeda058cab7a9
Author: Jakub Gielzak <jgielzak@google.com>
Date: Thu Aug 01 22:20:00 2019
Fix for PageTransformer + dataSet animations clash
Suspends data-set change animations in the presence of a
PageTransformer.
Bug: 134658996
Test: ./gradlew viewpager2:connectedCheck
Change-Id: I873f7233a87b553ef6f410a76b35e6567bd4dc80
A viewpager2/src/androidTest/java/androidx/viewpager2/widget/PageTransformerItemAnimatorTest.kt
M viewpager2/src/main/java/androidx/viewpager2/widget/ViewPager2.java
ve...@google.com <ve...@google.com> #5
deleted
da...@gmail.com <da...@gmail.com> #6
its fixed!
nice loadinf animation, maybe add a settign to opt in to this feature
(loading) or opt out (instant but laggy ui)
On Fri, Apr 4, 2025, 15:23 <buganizer-system@google.com> wrote:
nice loadinf animation, maybe add a settign to opt in to this feature
(loading) or opt out (instant but laggy ui)
On Fri, Apr 4, 2025, 15:23 <buganizer-system@google.com> wrote:
ve...@google.com <ve...@google.com> #7
Thank you for the update. Please confirm if we can close this issue.
Description
(Note: It is the build when sending this report. For exact build reference, please see the attached bugreport.)
What type of Android issue is this? Slow Performance
What steps would let us observe this issue?
1. opt in on adnroid beta website
2. accept update and click "restar now" on the phone
3. wait until it boots up
4. click "ok" on the "welcome to android beta" popup
5. enter sim pin (already slightly laggy, but nothing extreme
6. unlick phone via swipe pattern
What did you expect to happen?
i expected the ui to be smooth, even if the phone updates.
What actually happened?
maybe the loading could take longer, but not something like the uishould lag. it cost me 3 tries to imput the swipe because of lag. also the ui fter logging in was sllow at the start: pulling down/up notification panel, swiping home screens, opening apps. but it was significantly laggier than a normal restart
How often has this happened?
Once
What was the effect of this issue on your device usage, such as lost time or work?
Slight
Additional comments
let the ui be smooth, maybe increase loading times slightly, if something has to load, but i want a responsive phone.
using a P8 since a year, never had major preformsnce problems before
Debugging information
Google Play services
com.google.android.gms
Version 251134035 (25.11.34 (260400-740024306))
System App (Updated)
Android System WebView
com.google.android.webview
Version 699813533 (134.0.6998.135)
System App (Updated)
Network operator: Orange
SIM operator: MASMOVIL
Filed by Android Beta Feedback. Version (Bundled): 2.25-betterbug.external_20220328_RC02
To learn more about our feedback process, please visit