private void startViewInvoice(InvoiceDTO invoice){ Intent intent = new Intent(this, typeof(ViewWebInvoice)); intent.PutExtra(constants.pPathInvoice, "https://docs.google.com/gview?embedded=true&url=" + HttpConstants.BASE_URL + invoice.url); StartActivity(intent); }
public void onViewInvoiceFail () { this.RunOnUiThread (() => { progressDialogParent.Hide (); this.invoice = null; }); }
public void onViewInvoiceSuccess (InvoiceDTO invoice) { this.RunOnUiThread (() => { progressDialogParent.Hide (); this.invoice = invoice; startViewInvoice(invoice); }); }
public void onSendingViewInvoice () { this.RunOnUiThread (() => { progressDialogParent.Show (); this.invoice = null; }); }