public override void OnPickOptionResult(bool finished, Option[] selections, Bundle result) { if (finished && selections.Length == 1) { frag.TakePicture(); } else { Activity.Finish(); } }
public override void Run() { frag.Activity.RunOnUiThread(() => { if (countdown < 0) { toast.Cancel(); frag.TakePicture(); } else { label.Text = "Photo in " + countdown.ToString("D"); toast.Show(); } }); countdown--; if (countdown < 0) { Cancel(); } }