public DeviceList() { InitializeComponent(); _ble = BlueMan.Instance(); listDevices.ItemsSource = Devices; lblScanning.SetBinding(IsVisibleProperty, nameof(this.IsScanning)); }
public static BlueMan Instance() { if (_instance == null) { _instance = new BlueMan(); } return(_instance); }
public MainPage(BleDevice selectedDevice = null) { InitializeComponent(); _ble = BlueMan.Instance(); _selectedDevice = selectedDevice; }