Skip to content

JoeTomkinson/Xama.JTPorts.EasingInterpolator

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

Xamarin EasingInterpolator

platform API License: MIT Build: Passing NuGet

Namespace: Xama.JTPorts.EasingInterpolator

Xamarin.Android Native EasingInterpolator Twenty-eight different easing animation interpolators for Android. ported from EasingInterpolator by Masayuki Suda

This is a ported build, converted from Java to C# for use with the Xamarin MonoFramework.

Installation

NugetIcon

Simply install the nuget package within your Xamarin.Android project and use as described below.

Package Install:

Install-Package Xama.JTPorts.EasingInterpolator -Version 1.0.2

.NET CLI:

dotnet add package Xama.JTPorts.EasingInterpolator --version 1.0.2

Usage

ValueAnimator valueAnimator = new ValueAnimator();
valueAnimator.SetInterpolator(new EasingInterpolator(Ease.CubicIn));
valueAnimator.Start();

ObjectAnimator objectAnimator = ObjectAnimator.OfFloat(View, "translationY", 0, 300);
objectAnimator.SetInterpolator(new EasingInterpolator(Ease.ElasticInOut)));
objectAnimator.Start();

Image of easing types

Support 💎

If you want to support the work that I do and you find any of these libraries useful? Consider supporting it by joining stargazers for this repository. 🔭 🌠


or alternatively if you want to you can also buy me a coffee.

Buy Me A Coffee

You know, only if you want to.

About

Xamarin.Android Native library containing twenty-eight different easing animation interpolators.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages