Merge pull request '不要なコールバックを削除' (#26) from improve/remove_unused_callback into main
Reviewed-on: #26
This commit is contained in:
commit
286c66ec9c
|
@ -180,17 +180,5 @@ public class HomeFragment extends Fragment implements OnEventListener {
|
||||||
|
|
||||||
return updateUiState(isInCar);
|
return updateUiState(isInCar);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onEvent2(boolean BluetoothConnect) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean onEvent2(Boolean BluetoothConnect) {//Bluetoothの接続切断を受け取ってupdateBluetoothSituation()に渡す
|
|
||||||
updateBluetoothSituation(BluetoothConnect);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,4 @@ package com.example.childguard;
|
||||||
public interface OnEventListener {
|
public interface OnEventListener {
|
||||||
|
|
||||||
boolean onEvent(boolean state);
|
boolean onEvent(boolean state);
|
||||||
|
|
||||||
void onEvent2(boolean BluetoothConnect);
|
|
||||||
|
|
||||||
boolean onEvent2(Boolean BluetoothConnect);
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user