public void Kill() { if (_Layout != null) { _Layout.Dispose (); _Layout = null; } }
public void Kill() { if (_Layout != null) { _Layout.Dispose(); _Layout = null; } }
public void Show(TopAlert alert) { if (_Layout != null) { _Layout.Dispose (); _Layout = null; } var window = UIApplication.SharedApplication.KeyWindow.RootViewController; _Layout = new MyToast (alert); window.Add (_Layout); UIApplication.SharedApplication.KeyWindow.BringSubviewToFront (_Layout); }
public void Show(TopAlert alert) { if (_Layout != null) { _Layout.Dispose(); _Layout = null; } var window = UIApplication.SharedApplication.KeyWindow.RootViewController; _Layout = new MyToast(alert); window.Add(_Layout); UIApplication.SharedApplication.KeyWindow.BringSubviewToFront(_Layout); }