https://github.com/jzeferino/xamarin.ios.dgactivityindicatorview
:beginner: DGActivityIndicatorView is a collection of nice loading animations for Xamarin.iOS.
https://github.com/jzeferino/xamarin.ios.dgactivityindicatorview
animations dgactivityindicatorview ios loading-animations nuget xamarin xamarin-ios
Last synced: 17 days ago
JSON representation
:beginner: DGActivityIndicatorView is a collection of nice loading animations for Xamarin.iOS.
- Host: GitHub
- URL: https://github.com/jzeferino/xamarin.ios.dgactivityindicatorview
- Owner: jzeferino
- License: mit
- Created: 2017-01-29T22:53:56.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-18T16:44:24.000Z (over 6 years ago)
- Last Synced: 2025-04-10T03:08:47.265Z (19 days ago)
- Topics: animations, dgactivityindicatorview, ios, loading-animations, nuget, xamarin, xamarin-ios
- Language: C#
- Homepage:
- Size: 4.89 MB
- Stars: 28
- Watchers: 1
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://app.bitrise.io/app/ef9f6b792fb8dc9b)
[](https://www.nuget.org/packages/Xamarin.iOS.DGActivityIndicatorView/)Xamarin.iOS.DGActivityIndicatorView
===================This is a Xamarin iOS Binding for the [DGActivityIndicatorView](https://github.com/gontovnik/DGActivityIndicatorView).
DGActivityIndicatorView is a collection of nice loading animations for iOS.
## Demo
![]()
## Usage
(see the [sample](https://github.com/jzeferino/Xamarin.iOS.DGActivityIndicatorView/tree/master/src/Xamarin.iOS.DGActivityIndicatorViewBinding.Sample) project for a detailed working example)### Step 1
Install NuGet [package](https://www.nuget.org/packages/Xamarin.iOS.DGActivityIndicatorView/).
### Step 2
Add the DGActivityIndicatorView to your layout:
```c#
var activityIndicatorView = new DGActivityIndicatorView(DGActivityIndicatorAnimationType.BallGridBeat, UIColor.White);
View.AddSubview(activityIndicatorView);
```### Step 3
Show or hide the progress.
```c#
activityIndicatorView.StartAnimating();
```
or
```c#
activityIndicatorView.StopAnimating();
```## Indicators
As seen above in the **Demo**, the indicators are as follows:
* `BallPulseIndicator`
* `NineDots`
* `TriplePulse`
* `FiveDots`
* `RotatingSquares`
* `DoubleBounce`
* `TwoDots`
* `ThreeDots`
* `BallPulse`
* `BallClipRotate`
* `BallClipRotatePulse`
* `BallClipRotateMultiple`
* `BallRotate`
* `BallZigZag`
* `BallZigZagDeflect`
* `BallTrianglePath`
* `BallScale`
* `LineScale`
* `LineScaleParty`
* `BallScaleMultiple`
* `BallPulseSync`
* `BallBeat`
* `LineScalePulseOut`
* `LineScalePulseOutRapid`
* `BallScaleRipple`
* `BallScaleRippleMultiple`
* `TriangleSkewSpin`
* `BallGridBeat`
* `BallGridPulse`
* `RotatingSandglass`
* `RotatingTrigons`
* `TripleRings`
* `CookieTerminator`
* `BallSpinFadeLoader`
### License
[MIT Licence](LICENSE)