Ejemplo n.º 1
0
        protected virtual void CloseNotification_Click(object sender, EventArgs e)
        {
            ImageButton      closenotificationbutton = sender as ImageButton;
            OpenNotification openNotification        = closenotificationbutton.GetTag(DefaultActionIdentificator) as OpenNotification;

            openNotification?.Cancel();
            NotificationView.SetTag(Resource.String.defaulttag, openNotification.GetCustomId());
            WidgetStatusPublisher.RequestShow(new WidgetStatusEventArgs {
                Show = false, WidgetName = "NotificationFragment"
            });
            NotificationView.Visibility = ViewStates.Invisible;
        }