From aa6ee4f035bfafbffda53241a774139fc45bb302 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Thu, 11 Jul 2024 14:08:51 +0900 Subject: [PATCH] =?UTF-8?q?void=20onEvent2,=20boolean=20onEvent2=E3=82=92?= =?UTF-8?q?=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/example/childguard/HomeFragment.java | 12 ------------ .../java/com/example/childguard/OnEventListener.java | 4 ---- 2 files changed, 16 deletions(-) diff --git a/app/src/main/java/com/example/childguard/HomeFragment.java b/app/src/main/java/com/example/childguard/HomeFragment.java index 5f462f3..fab5664 100644 --- a/app/src/main/java/com/example/childguard/HomeFragment.java +++ b/app/src/main/java/com/example/childguard/HomeFragment.java @@ -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; - } } diff --git a/app/src/main/java/com/example/childguard/OnEventListener.java b/app/src/main/java/com/example/childguard/OnEventListener.java index 1782b5f..8bf8757 100644 --- a/app/src/main/java/com/example/childguard/OnEventListener.java +++ b/app/src/main/java/com/example/childguard/OnEventListener.java @@ -3,8 +3,4 @@ package com.example.childguard; public interface OnEventListener { boolean onEvent(boolean state); - - void onEvent2(boolean BluetoothConnect); - - boolean onEvent2(Boolean BluetoothConnect); }