Exemplo n.º 1
0
        public static void ShowNotificationViewWithImage(UIImage image, string title, string message, int timerLength, Action onTouch)
        {
            //Always remove auto hide when onTouch not is filled
            if (onTouch == null)
            {
                timerLength = (int)NotificationView.NotificationViewShowingDuration;
            }

            UIApplication.SharedApplication.InvokeOnMainThread(() => SharedInstance.ShowNotificationViewWithImage(image, title, message, timerLength, onTouch));
        }
Exemplo n.º 2
0
 public static void ShowNotificationViewWithImage(UIImage image, string title, string message)
 {
     UIApplication.SharedApplication.InvokeOnMainThread(() => SharedInstance.ShowNotificationViewWithImage(image, title, message, (int)NotificationView.NotificationViewShowingDuration, Dismiss));
 }