A cross platform library that allows you to call for standard user dialogs from a shared/portable library.
v9.x Supports ONLY .NET 8 target
Install Acr.UserDialogs.Maui from NuGet
In your MauiProgram.cs, add the following
using Acr.UserDialogs;
namespace Samples;
public static class MauiProgram
{
public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.UseUserDialogs()
.ConfigureFonts(fonts =>
{
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
});
return builder.Build();
}
}
To use, simply reference the nuget package in each of your platform projects. If you are getting issues with System.Drawing.Color, please make sure you are using the latest version of Xamarin
Nothing is necessary any longer as of v4.x. There is an Init function for iOS but it is OPTIONAL and only required if you want/need to control
the top level viewcontroller for things like iOS extensions. Progress prompts will not use this factory function though!
UserDialogs.Init(this);
OR UserDialogs.Init(() => provide your own top level activity provider)
I'm getting a nullreferenceexception when using loading.
I'm getting "This is the PCL library, not the platform library. Did you include the nuget package in your main "executable" project?"
Navigating while inside of a loading/progress dialog causes exceptions or the progress no longer appears properly
I don't like the way X method works on platform Y
on the platform public class MyCustomUserDialogs : Acr.UserDialogs.UserDialogImpl { public override .. }
in appdelegate or the starting activity UserDialogs.Instance = new MyCustomUserDialogs();
Why don't you support the latest Android support libraries?
Why don't you cancel a dialog when the app goes to the background (AND) why do I get an exception when I call for a dialog?
Why does the library allow me to open multiple windows?
I'd like to customize the dialogs
(top 30 of 45)
C#
100.0%
A cross platform library that allows you to call for standard user dialogs from a shared/portable library.
v9.x Supports ONLY .NET 8 target
Install Acr.UserDialogs.Maui from NuGet
In your MauiProgram.cs, add the following
using Acr.UserDialogs;
namespace Samples;
public static class MauiProgram
{
public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.UseUserDialogs()
.ConfigureFonts(fonts =>
{
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
});
return builder.Build();
}
}
To use, simply reference the nuget package in each of your platform projects. If you are getting issues with System.Drawing.Color, please make sure you are using the latest version of Xamarin
Nothing is necessary any longer as of v4.x. There is an Init function for iOS but it is OPTIONAL and only required if you want/need to control
the top level viewcontroller for things like iOS extensions. Progress prompts will not use this factory function though!
UserDialogs.Init(this);
OR UserDialogs.Init(() => provide your own top level activity provider)
I'm getting a nullreferenceexception when using loading.
I'm getting "This is the PCL library, not the platform library. Did you include the nuget package in your main "executable" project?"
Navigating while inside of a loading/progress dialog causes exceptions or the progress no longer appears properly
I don't like the way X method works on platform Y
on the platform public class MyCustomUserDialogs : Acr.UserDialogs.UserDialogImpl { public override .. }
in appdelegate or the starting activity UserDialogs.Instance = new MyCustomUserDialogs();
Why don't you support the latest Android support libraries?
Why don't you cancel a dialog when the app goes to the background (AND) why do I get an exception when I call for a dialog?
Why does the library allow me to open multiple windows?
I'd like to customize the dialogs
(top 30 of 45)
C#
100.0%