Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

ViewExtensions.TranslateTo seems to have a delay between invocation and animation in Android

$
0
0

I am using ViewExtensions.TranslateTo for a drag gesture. It seems that there is a delay between the method invocation and the actual animation when running on Android. The Android projects are set for Level 19-23.
Gesture detection is ok, I can say that this is not the problem. The weird thing is if I put a Debug.Writeline right after the invocation, the delay seems to disappear. InvalidateMeasure has the same effect, but Debug.Writeline's effect is better.
I tried using xxxInvalidatexxx methods in the gesture detector, but they had no effect. (I am not sure if I used them correctly).

Anybody has a solution? :D


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>