Acr.UserDialogs: How to show the .axml notification?

xamauserxamauser Member ✭✭

I use Xamarin.Android and MVVMCross. I need to show the notification.

I installed Acr.UserDialogs and add the following to App.cs:

Mvx.RegisterSingleton<IUserDialogs>(() => UserDialogs.Instance);

I know that I can show the simple message adding to ViewModel the following:

 public ICommand EnterCommand => new MvxCommand(() => {
        Mvx.Resolve<IUserDialogs>().Alert("message");
    });

But I'd like to show my own notification with image. I created .axml file with layout for the notification. Is it possible?

Thank you for your help!

Answers

Sign In or Register to comment.