private void ShowDialog(string imageName, string text, Func <Task> onClose) { var act = Mvx.IoCProvider.Resolve <IMvxAndroidCurrentTopActivity>().Activity; var fm = act.FragmentManager; BasicDialog dialog = new BasicDialog(imageName, text, onClose); dialog.Show(fm, ""); }
public void Awake() { basicDialog = GetComponent <BasicDialog>(); basicDialog.Cancelable = false; basicDialog.OnCloseAnimationFinished.AddListener(() => { if (started) { OnStart.Invoke(); } }); }
private void exportToBASICToolStripMenuItem_Click(object sender, EventArgs e) { using var x = new BasicDialog(); x.Sprites = Sprites; x.ShowDialog(this); }
public void Awake() { basicDialog = GetComponent <BasicDialog>(); }