Karamunting.Android.RafaelBarbosatec.AchievementView
0.1.4
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Karamunting.Android.RafaelBarbosatec.AchievementView --version 0.1.4
NuGet\Install-Package Karamunting.Android.RafaelBarbosatec.AchievementView -Version 0.1.4
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="Karamunting.Android.RafaelBarbosatec.AchievementView" Version="0.1.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Karamunting.Android.RafaelBarbosatec.AchievementView --version 0.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Karamunting.Android.RafaelBarbosatec.AchievementView, 0.1.4"
#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 Karamunting.Android.RafaelBarbosatec.AchievementView as a Cake Addin
#addin nuget:?package=Karamunting.Android.RafaelBarbosatec.AchievementView&version=0.1.4
// Install Karamunting.Android.RafaelBarbosatec.AchievementView as a Cake Tool
#tool nuget:?package=Karamunting.Android.RafaelBarbosatec.AchievementView&version=0.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Simple Usage
protected override void OnCreate(Bundle savedInstanceState)
{
// ...
var achievementView = FindViewById<AchievementView>(R.Id.achievement_view);
var btn = FindViewById<Button>(R.Id.btn_show);
btn.Click += (s,e) =>
{
achievementView.SetTitle("This is title")
.SetMessage("This is message")
.SetColor(R.Color.colorAccent)
.SetIcon(R.Drawable.ic_sun)
.SetScaleTypeIcon(ImageView.ScaleType.CenterInside)
.SetClick(
clickListener: v =>
{
Toast.MakeText(this, "Hello", ToastLength.Short).Show();
}
)
.Show();
};
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
MonoAndroid | monoandroid70 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
MonoAndroid 7.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.