Hello, first I wanted to thank you for this amazing library, however I would appreciate some help. I'm not sure if I'm misunderstanding, but I'm running into many problems within the GlucoseManager class.
1) Method doesn't override
Within the GlucoseManager which extends BleManager:
public class GlucoseManager extends BleManager<GlucoseManagerCallbacks> {...{
There is a method which overrides getGattCallback():
@Override
protected BleManagerGattCallback getGattCallback() {
return mGattCallback;
}
However, Android Studio shows an error:
"Method does not override method from its superclass"
2) BleManagerGattCallback override problems
But that's not the only method erroring like that, there's a also the BleManagerGattCallback also within the GlucoseManager:
private final BleManagerGattCallback mGattCallback = new BleManagerGattCallback() {
@Override
protected Deque<Request> initGatt(final BluetoothGatt gatt) {
...
}
@Override
public boolean isRequiredServiceSupported(final BluetoothGatt gatt) {
...
}
...
@Override
protected void onCharacteristicWrite(final BluetoothGatt gatt, final BluetoothGattCharacteristic characteristic) {
...
}
...
}
Every function within the BleManagerGattCallback which has @OverRide errors with "Method does not override method from its superclass".
3) BleManagerCallbacks cannot resolve methods
Also with GlucoseManager, any method call using BleManagerCallbacks mCallbacks; states "Cannot resolve method 'methodNameHere(argumentHere)" such as:
mCallbacks.onDatasetChanged(gatt.getDevice());
...
mCallbacks.onNumberOfRecordsRequested(gatt.getDevice(), number);
...
mCallbacks.onOperationCompleted(gatt.getDevice());
...
mCallbacks.onOperationCompleted(mBluetoothDevice);
...
I'm not sure if I'm doing something wrong or misunderstanding, but there seems to be many issues with the GlucoseManager? I really appreciate you uploading this library, it has been a tremendous help and any further help would really be appreciated :).