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

2.3.0.107 iOS TranslateTo crashes

$
0
0

Hi all,

After some updates I'm getting the following exception when trying to animate element moves with TranslateTo:

An attempt was made to transition a task to a final state when it had already completed.

Code is:

    async void Shake(View view)
    {
        await view.TranslateTo(20, 0, 150, Easing.SinIn);
        await view.TranslateTo(-20, 0, 150, Easing.Linear);
        await view.TranslateTo(0, 0, 150, Easing.SinOut);
    }

What could be a reason of that?

Shake is invoked from UI thread.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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