You can chain animations by using await
and running them sequentially.
C#
async void OnAnimateClicked(object sender, EventArgs e)
{
//whenever the button is clicked
await ChainAnimations(animatedLabel);
}
async Task ChainAnimations(View view)
{
await view.FadeTo(0, 500);
await view.TranslateTo(100, 0, 500);
await view.FadeTo(1, 500);
}
Share with