Bug P2
Status Update
Comments
od...@google.com <od...@google.com> #2
Can you attach / share a project that reproduces the issue?
od...@google.com <od...@google.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.
lo...@gmail.com <lo...@gmail.com> #5
deleted
Description
Hello,
I've seen that the
Variant
tag can support Arithmetic expressions. However, they are not evaluated properly.Consider the following snippet put into a
PartDraw
tag:When the minute changes to become odd (e.g.
09:27
), x should be-50
rather than0
. However, it stays at0
, until the watch is woken up and put into ambient mode again.I attached the apk where you can find the expression (it's into
res/li.xml
, open it with Android Studio to see it).I also attached a video where you can see the bug:
x
is still0
, though it should be-50
.x
is still at0
, which makes sense now, since it's not in ambient modex
is correctly set to-50
(As59 % 2 == 0 ? 0 : -50
should give). You can see it by looking at the first0
character, which has a gap, unlike in the beginning of the video.Why is the arithmetic expression not evaluated timely? Or is
[MINUTE]
changing too late, after the logic draws the new frame for the new minute while in ambient mode?All the best,
Louis CAD