Navigation Menu

Skip to content

dotnet-ad/Xamarin.Animations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status NuGet Donate

This cross-platform library tends to make view animation shareable and easier for common scenarios like fade or scale entrance animations.

Installation

To install Xamarin.Animations, run the following command in the Package Manager Console.

PM> Install-Package Xam.Animations

Usage

The package adds an AnimateAsync extension method to UIView(iOS) / NSView(macOS) / View(Android) / UIElement(Windows).

To start an animation with an IAnimation.

await view.AnimateAsync(Animations.FadeIn());
await view.AnimateAsync(Animations.FadeIn(duration: TimeSpan.FromSeconds(0.5f)));
await view.AnimateAsync(Animations.FadeIn(duration: TimeSpan.FromSeconds(0.5f), delay: TimeSpan.FromSeconds(0.2f)));

Roadmap / ideas

  • Adding WPF support

Contributions

Contributions are welcome! If you find a bug please report it and if you want a feature please report it.

If you want to contribute code please file an issue and create a branch off of the current dev branch and file a pull request.

License

MIT © Aloïs Deniel

About

Animate your views with simple shareable animation declarations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published