Ejemplo n.º 1
0
        public LoadingStatusBarView(CGRect frame)
        {
            _loader = new LoadingAnimation(frame);

            Frame = frame;
            Add(_loader);
            ClipsToBounds = true;

            _loader.RunAnimation = true;
            _loader.Animate();
        }
Ejemplo n.º 2
0
            public LoadingBarView(float x = 0, float y = 75, int width = 320, int height = 6, UIColor baseColor = null)
            {
                loader = new LoadingAnimation(width, height, baseColor);

                Frame = new CGRect(x, y, width, height);

                Add(loader);
                ClipsToBounds = true;

                loader.Animate();
            }