public DevicesAdapter(Context ctx, List <BluetoothDevice> devices)
 {
     this.devices = devices;
     this.ctx     = ctx;
     holder       = new DevicesHolder();
 }
 public CharacteristicsAdapter(Context ctx, List <BluetoothGattCharacteristic> characteristics)
 {
     this.characteristics = characteristics;
     this.ctx             = ctx;
     holder = new DevicesHolder();
 }
Example #3
0
 public ServicesAdapter(Context ctx, List <BluetoothGattService> services)
 {
     this.services = services;
     this.ctx      = ctx;
     holder        = new DevicesHolder();
 }