不要なコールバックを削除 #26

Merged
asura146 merged 1 commits from improve/remove_unused_callback into main 2024-07-11 07:15:46 +00:00
2 changed files with 0 additions and 16 deletions
Showing only changes of commit aa6ee4f035 - Show all commits

View File

@ -180,17 +180,5 @@ public class HomeFragment extends Fragment implements OnEventListener {
return updateUiState(isInCar);
}
@Override
public void onEvent2(boolean BluetoothConnect) {
return;
}
@Override
public boolean onEvent2(Boolean BluetoothConnect) {//Bluetoothの接続切断を受け取ってupdateBluetoothSituation()に渡す
updateBluetoothSituation(BluetoothConnect);
return false;
}
}

View File

@ -3,8 +3,4 @@ package com.example.childguard;
public interface OnEventListener {
boolean onEvent(boolean state);
void onEvent2(boolean BluetoothConnect);
boolean onEvent2(Boolean BluetoothConnect);
}