Open alexvanyo opened 4 years ago
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot I signed it!
and we'll verify it.
ℹ️ Googlers: Go here for more info.
Hi, @alexvanyo @codingjeremy I am facing the exact same problem, is there any way to deal with this problem because I saw googleBot declared it as Status: Won't Fix (Not Reproducible)
So I have used this to handle the problem hope it works for you as well, Just checked if the event occurs before 250 milli sec, you can customize it according to your need.
if (SystemClock.elapsedRealtime() - mLastSwipe < 250){
return
}
mLastSwipe = SystemClock.elapsedRealtime()
I have used it in start of onTransitionCompleted()
listener and it worked.
This PR reproduces an issue with
MotionLayout.TransitionListener
in2.0.0-beta5
and2.0.0-beta6
.In
Complex Motion Example (4/4)
, theonTransitionCompleted
method is called multiple times, and sometimes with acurrentId
of-1
, which is unexpected:Clicking the button once results in an output of
Reverting to
2.0.0-beta4
gives the expected output:This reproduces https://issuetracker.google.com/issues/157003182