QotoQot.Bindings.Lottie.Android 1.0.0

dotnet add package QotoQot.Bindings.Lottie.Android --version 1.0.0
                    
NuGet\Install-Package QotoQot.Bindings.Lottie.Android -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="QotoQot.Bindings.Lottie.Android" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="QotoQot.Bindings.Lottie.Android" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="QotoQot.Bindings.Lottie.Android" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add QotoQot.Bindings.Lottie.Android --version 1.0.0
                    
#r "nuget: QotoQot.Bindings.Lottie.Android, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package QotoQot.Bindings.Lottie.Android@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=QotoQot.Bindings.Lottie.Android&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=QotoQot.Bindings.Lottie.Android&version=1.0.0
                    
Install as a Cake Tool

QotoQot.Bindings.Lottie.Android

.NET 9 bindings for Lottie Android - a library for rendering After Effects animations natively on Android.

Installation

<PackageReference Include="QotoQot.Bindings.Lottie.Android" Version="1.0.0" />

Usage

Basic Animation from Assets

using Com.Airbnb.Lottie;

// In your Activity or Fragment
var animationView = new LottieAnimationView(this);
animationView.SetAnimation("animation.json");
animationView.Loop = true;
animationView.PlayAnimation();

Using in XML Layout

<com.airbnb.lottie.LottieAnimationView
    android:id="@+id/animation_view"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    app:lottie_fileName="animation.json"
    app:lottie_loop="true"
    app:lottie_autoPlay="true" />

Loading Animation from URL

var animationView = FindViewById<LottieAnimationView>(Resource.Id.animation_view);
animationView.SetAnimationFromUrl("https://example.com/animation.json");

Animation Control

// Play/Pause
animationView.PlayAnimation();
animationView.PauseAnimation();

// Speed control
animationView.Speed = 2.0f; // 2x speed

// Progress control
animationView.Progress = 0.5f; // Jump to 50%

// Add animation listeners
animationView.AddAnimatorListener(new AnimatorListenerAdapter {
    // Override methods as needed
});

Requirements

  • .NET 9.0 or later
  • Android API 21 (Android 5.0) or later

Dependencies

This package includes bindings for:

  • Lottie Android v6.6.7
  • AndroidX AppCompat
  • AndroidX Core
  • OkIO (transitive dependency)

License

This binding is licensed under Apache-2.0. The original Lottie Android library is also licensed under Apache-2.0.

Troubleshooting

If you encounter any issues with the bindings, please report them at the GitHub repository.

Product Compatible and additional computed target framework versions.
.NET net9.0-android35.0 is compatible.  net10.0-android was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 93 6/27/2025

Initial release of .NET 9 bindings for Lottie Android  v6.6.7 (the latest version in June 2025)