public void ShowWarning(string text, TimeIWindow time) { AppTools.RunOnUiThread(() => { CenterImageViewCross.SetImageFromResource("warning.svg"); ShowInternal(text, time); }); }
public void ShowWarning(string text, TimeIWindow time) { base.Show(); AppTools.InvokeOnMainThread(() => { CentreImage.SetImageFromResource("warning.svg"); }); ShowInternal(text, time); }
private void ShowInternal(string text, TimeIWindow time) { base.Show(); TopTextViewCross.Text = ""; CenterTextViewCross.Text = ""; BottomTextViewCross.Text = text; if (!Settings.BlockWindow) { this.TimerReponse(Close, int.Parse(time.GetStringValue())); } else { ContentView.Click += ContentView_Click; } }
private void ShowInternal(string text, TimeIWindow time) { AppTools.InvokeOnMainThread(() => { TopText.Text = ""; CentreText.Text = ""; BottomText.Text = text; if (!Settings.BlockWindow) { this.TimerReponse(Close); } else { ContentView.Click += ContentView_Click; } }); }