Xama.JTPorts.ExplosionView 1.0.0

dotnet add package Xama.JTPorts.ExplosionView --version 1.0.0
                    
NuGet\Install-Package Xama.JTPorts.ExplosionView -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="Xama.JTPorts.ExplosionView" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Xama.JTPorts.ExplosionView" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Xama.JTPorts.ExplosionView" />
                    
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 Xama.JTPorts.ExplosionView --version 1.0.0
                    
#r "nuget: Xama.JTPorts.ExplosionView, 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 Xama.JTPorts.ExplosionView@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=Xama.JTPorts.ExplosionView&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Xama.JTPorts.ExplosionView&version=1.0.0
                    
Install as a Cake Tool

Namespace: Xama.JTPorts.ExplosionView

Xamarin.Android UI Library port that provides an explosive dust effect for android views.

This is a ported build, converted from Java to C# for use with the Xamarin MonoFramework. Quite a bit needed to be reworked on this one to get it to work correctly in Xamarin.Android and there's some things that still need to be implemented to allow this library to function with quality of life functionality.

How to Install

NuGetIcon

Simply add the NuGet package directly to your Xamarin.Android solution, or use one of the following:

Package Manager:

Install-Package Xama.JTPorts.ExplosionView -Version 1.0.0

.NET CLI:

dotnet add package Xama.JTPorts.ExplosionView --version 1.0.0

Basic Usage

Create whatever controls you want to explode inside of your AXML layout as you would do any other view. In the backing class add the following code

Using Xama.JTPorts.ExplosionField;

// This creates the explosion view used to display the particals at the root of the content display.
// This is expecting an activity ideally, so this would be a little different if used inside of a fragment, so bear that in mind.
ExplosionField explosionField = new ExplosionField(this);

// Tells the view to start animating the explosion animation
explosionField.explode(view);

// Could be hooked up to an on click event of your control if you wish.
view.Click += (s,e) =>
{
    explosionField.Explode(view);
}
Product Compatible and additional computed target framework versions.
MonoAndroid monoandroid81 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • MonoAndroid 8.1

    • No dependencies.

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 717 4/15/2020

1.0.0 - Initial NuGet package release.