ModernAlerts.Droid
1.1.2.14
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 ModernAlerts.Droid --version 1.1.2.14
NuGet\Install-Package ModernAlerts.Droid -Version 1.1.2.14
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="ModernAlerts.Droid" Version="1.1.2.14" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ModernAlerts.Droid --version 1.1.2.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ModernAlerts.Droid, 1.1.2.14"
#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 ModernAlerts.Droid as a Cake Addin #addin nuget:?package=ModernAlerts.Droid&version=1.1.2.14 // Install ModernAlerts.Droid as a Cake Tool #tool nuget:?package=ModernAlerts.Droid&version=1.1.2.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ModernAlerts for Xamrin Forms
GitHub Sample https://github.com/manikandansai/ModernAlerts/
Android: Download https://www.nuget.org/packages/ModernAlerts.Droid/ Nuget Pacakge in Droid Project
Android Initialization in Main Activity.
ModernAlerts.ModernAlertsHelper.GetInstance().Init(this);
Like below
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
{
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
global::Xamarin.Forms.Forms.Init(this, bundle);
ModernAlerts.ModernAlertsHelper.GetInstance().Init(this);
LoadApplication(new App());
}
}
iOS: Download https://www.nuget.org/packages/ModernAlerts.iOS/ get Pacakge in iOS Project No Need to initialize for IOS Apps Simple Display Alert:
ModernAlertsHelper.GetInstance().DisplayAlert(Color.Red, Color.White, "Modern Alerts Simple Alert", "Modern Alerts Simple Alert Body", "OK", null, (obj) =>
{
//Logic
});
Simple Get Input Alert:
GetInputConfig getInputConfig = new GetInputConfig();
getInputConfig.BackgroundColor = Color.White;
getInputConfig.keyboard = Keyboard.Telephone;
getInputConfig.MaxLength = 10;
getInputConfig.FontColor = Color.Black;
ModernAlertsHelper.GetInstance().DisplayAlert(Color.Black, Color.White, "Modern Alerts Simple Alert", "Modern Alerts Simple Alert Body", "OK", null, (obj) =>
{
//Logic
}, true, getInputConfig);
Confirmation Alert:
ModernAlertsHelper.GetInstance().DisplayAlert(Color.Red,Color.White, "Modern Alert Confirmation Header","Modern Alert Confirmation Body", "Yes", "No", (obj) =>
{
if (obj == null) return;
//Logic
});
ActionSheet:
string[] numbersarray = new string[] { "1","2","3","4" };
ModernAlertsHelper.GetInstance().ActionSheet(Color.Red,Color.White,"Modern Alerts ActionSheet", numbersarray, "Cancel", (obj) =>
{
if (obj == null || (obj != null && obj == "Cancel")) return;
//Logic
});
Product | Versions Compatible and additional computed target framework versions. |
---|---|
MonoAndroid | monoandroid80 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
MonoAndroid 8.0
- Xamarin.Android.Support.Animated.Vector.Drawable (>= 25.4.0.2)
- Xamarin.Android.Support.Annotations (>= 25.4.0.2)
- Xamarin.Android.Support.Compat (>= 25.4.0.2)
- Xamarin.Android.Support.Core.UI (>= 25.4.0.2)
- Xamarin.Android.Support.Core.Utils (>= 25.4.0.2)
- Xamarin.Android.Support.Design (>= 25.4.0.2)
- Xamarin.Android.Support.Fragment (>= 25.4.0.2)
- Xamarin.Android.Support.Media.Compat (>= 25.4.0.2)
- Xamarin.Android.Support.Transition (>= 25.4.0.2)
- Xamarin.Android.Support.v4 (>= 25.4.0.2)
- Xamarin.Android.Support.v7.AppCompat (>= 25.4.0.2)
- Xamarin.Android.Support.v7.CardView (>= 25.4.0.2)
- Xamarin.Android.Support.v7.MediaRouter (>= 25.4.0.2)
- Xamarin.Android.Support.v7.Palette (>= 25.4.0.2)
- Xamarin.Android.Support.v7.RecyclerView (>= 25.4.0.2)
- Xamarin.Android.Support.Vector.Drawable (>= 25.4.0.2)
- Xamarin.Forms (>= 2.5.0.280555)
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.1.2.32 | 1,600 | 4/30/2018 |
1.1.2.31 | 1,485 | 4/30/2018 |
1.1.2.30 | 1,575 | 4/28/2018 |
1.1.2.29 | 1,476 | 4/13/2018 |
1.1.2.28 | 1,431 | 4/8/2018 |
1.1.2.27 | 1,531 | 4/1/2018 |
1.1.2.26 | 1,478 | 3/8/2018 |
1.1.2.25 | 1,343 | 3/8/2018 |
1.1.2.24 | 1,296 | 3/8/2018 |
1.1.2.23 | 1,345 | 3/8/2018 |
1.1.2.22 | 1,391 | 3/8/2018 |
1.1.2.21 | 1,363 | 3/7/2018 |
1.1.2.20 | 1,263 | 3/7/2018 |
1.1.2.14 | 1,388 | 2/28/2018 |
1.1.2 | 1,491 | 2/26/2018 |
1.1.1 | 1,236 | 2/26/2018 |
1.0.0 | 1,473 | 2/26/2018 |