Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How to make animation stop at the last image?

$
0
0

I have this animation going on. It shows 0 and 1 image. I want the animation to stop at the last image and not go away. What property can I use?

    // an animating image
    animatedCircleImage = new UIImageView();
    animatedCircleImage.AnimationImages = new UIImage[] {
        UIImage.FromBundle ("0.4.png")
        , UIImage.FromBundle ("1.4.png")
    } ;
    animatedCircleImage.AnimationRepeatCount = 1;
    animatedCircleImage.AnimationDuration = 1;
    animatedCircleImage.Frame = new RectangleF(110, 100, 100, 100);
    View.AddSubview(animatedCircleImage);

Viewing all articles
Browse latest Browse all 204402

Trending Articles



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