Hi.
I've this situation.
A MasterDetail: in the master I have a button with this code
buttonVerifica.Clicked +=async (object sender, EventArgs e) => {
this.IsBusy = true;
var result = await BarCodes.Instance.Read();
if (!result.Success){
this.IsBusy = false;
await this.DisplayAlert("Failed", "Failed to get barcode", "OK");
}
else {
this.IsBusy = false;
App.MasterDetail.Detail = new NavigationPage (new PageDatiScontrino(result));
}
}
I would like to visualize a navigationpage in the Detail with data reads from the barcode.
I always open navigationPage in Detail page, but in this situation it does not appear.
It's not a problem of @AllanRitchie 's library. The problem, I suppose, is in the async / await situation.
This code sometimes work, sometimes not.
In XS's "Output application" nothing is write.
Some suggestions?
Thanks
Alessandro