nkkinsoft.Facebook.Shimmer.Android
0.6.0.1
dotnet add package nkkinsoft.Facebook.Shimmer.Android --version 0.6.0.1
NuGet\Install-Package nkkinsoft.Facebook.Shimmer.Android -Version 0.6.0.1
<PackageReference Include="nkkinsoft.Facebook.Shimmer.Android" Version="0.6.0.1" />
<PackageVersion Include="nkkinsoft.Facebook.Shimmer.Android" Version="0.6.0.1" />
<PackageReference Include="nkkinsoft.Facebook.Shimmer.Android" />
paket add nkkinsoft.Facebook.Shimmer.Android --version 0.6.0.1
#r "nuget: nkkinsoft.Facebook.Shimmer.Android, 0.6.0.1"
#:package nkkinsoft.Facebook.Shimmer.Android@0.6.0.1
#addin nuget:?package=nkkinsoft.Facebook.Shimmer.Android&version=0.6.0.1
#tool nuget:?package=nkkinsoft.Facebook.Shimmer.Android&version=0.6.0.1
Xamarin.Facebook.Shimmer
Updated to .Net 10
This is a set of Xamarin bindings of Facebook Shimmer for Android
Shimmer is an easy way to add a shimmering effect to any view in your app. It's useful as an unobtrusive loading indicator.

Table of Contents
Installation
The latest stable release of the AffirmSDK is available on NuGet.
Example
A demo app that integrates Shimmer is included in the repo. You may clone the GitHub repository into a new Visual Studio project folder and run the Sample project.
Usage
The following snippet shows how you can use ShimmerFrameLayout
<com.facebook.shimmer.ShimmerFrameLayout
android:id="@+id/shimmer_view_container"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</com.facebook.shimmer.ShimmerFrameLayout>
And thats it! If you specify auto-start to be false, then you can start the animation in code:
// Set our view from the "main" layout resource
SetContentView(Resource.Layout.activity_main);
shimmer = FindViewById<ShimmerFrameLayout>(Resource.Id.shimmer_view_container);
var shimmerBuilder = new Shimmer.AlphaHighlightBuilder();
shimmerBuilder?.SetBaseAlpha(0.7f)?
.SetHighlightAlpha(1f)?
.SetDuration(2000)?
.SetDirection(0)? // 0=left to right, 1=right to left, 2=top to bottom, 3=bottom to top
.SetDropoff(0.5f)?
.SetShape(1)? // Linear =0, Radial =1,
.SetAutoStart(true);
shimmer?.SetShimmer(shimmerBuilder?.Build());
shimmer?.StartShimmer();
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-android36.0 is compatible. |
-
net10.0-android36.0
- 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.
.Net 10 version