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.
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.
// Install Xama.JTPorts.ExplosionView as a Cake Addin
#addin nuget:?package=Xama.JTPorts.ExplosionView&version=1.0.0

// Install Xama.JTPorts.ExplosionView as a Cake Tool
#tool nuget:?package=Xama.JTPorts.ExplosionView&version=1.0.0

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

1.0.0 - Initial NuGet package release.