Assigned
Status Update
Comments
in...@yandex-team.ru <in...@yandex-team.ru> #2
Can you attach / share a project that reproduces the issue?
je...@google.com <je...@google.com>
dm...@gmail.com <dm...@gmail.com> #3
Now i sure this is viewpager2's bug.
because just occur recyclerview inside viewpager2 with constraintlayout, if paging3 use Independently with viewpage2 it's not problem.
because just occur recyclerview inside viewpager2 with constraintlayout, if paging3 use Independently with viewpage2 it's not problem.
Description
I've created little application for demonstration, I will attach all code to this ticket.
There are 2 ImageViews in app, first is resized by scaling and second is resizing by changing width and height.
Steps:
0. (0.png) Everything is ok. There is no any artifacts.
1. (1.png) First image is resized by scale animation. And there are a lot of artifacts appear.
2. (2.png) First image is resized to original size. Artifacts have disappeared.
3. (3.png) Now look at second image. Second image is resized by changing width and height. There is no artifacts in expanded state on second image. But the artifacts appear on first image despite its original size.
4. (4.png) Return second image to original size. And now both images are corrupted.
5. (5.png) But scaling first image is now without artifacts.
After step 4 only restarting application can fix this drawables.
It doesn't reproduce on android 5,6,7 and 8.
We checked this issue on Pixel and Xiaomi Mi A1.
At first Xiaomi had android 8, and we didn't see this problem. But the artifacts appeared when we upgraded Xiaomi to Android 9.