Method | Description | |
---|---|---|
HideAll ( ) : void | ||
Init ( Android.App.Activity activity, IToastLayoutCustomRenderer customRenderer = null ) : void |
You can pass your custom renderer for toast layout, in case of null DefaultToastLayoutRenderer will be used
|
|
Notify ( ToastNotificationType type, string title, string description, System.TimeSpan duration, object context = null, bool clickable = true ) : Task |
||
NotifySticky ( ToastNotificationType type, string title, string description, object context = null, bool clickable = true, |
||
ToastNotificatorImplementation ( ) : System |
public static Init ( Android.App.Activity activity, IToastLayoutCustomRenderer customRenderer = null ) : void | ||
activity | Android.App.Activity | The current activity. In Xamarin Forms pass the instance of the MainActity e.g. Init(this); |
customRenderer | IToastLayoutCustomRenderer | |
return | void |
public Notify ( ToastNotificationType type, string title, string description, System.TimeSpan duration, object context = null, bool clickable = true ) : Task |
||
type | ToastNotificationType | |
title | string | |
description | string | |
duration | System.TimeSpan | |
context | object | |
clickable | bool | |
return | Task |
public NotifySticky ( ToastNotificationType type, string title, string description, object context = null, bool clickable = true, |
||
type | ToastNotificationType | |
title | string | |
description | string | |
context | object | |
clickable | bool | |
cancellationToken | ||
modal | bool | |
return | Task |
public ToastNotificatorImplementation ( ) : System | ||
return | System |