protected override void OnAppearing() { base.OnAppearing(); if (!initiated) { nfcService.StartDiscovering(); initiated = true; } }
private void btnSave_Clicked(System.Object sender, System.EventArgs e) { isReading = false; nfcService.StartDiscovering(); }
private void btnDiscover_Clicked(System.Object sender, System.EventArgs e) { Device.BeginInvokeOnMainThread(() => lbState.Text = "Discovering..."); btnDiscover.IsEnabled = false; nfcService.StartDiscovering(); }