From 856a43477e0601da4a9406ec4a9d20551c1b01ae Mon Sep 17 00:00:00 2001 From: Sangho Kim Date: Thu, 29 Aug 2024 00:25:17 +0900 Subject: [PATCH] =?UTF-8?q?[ADD/#51]=20=EB=8F=99=EB=AF=BC=EC=9D=84=20?= =?UTF-8?q?=EC=9C=84=ED=95=9C=20=ED=88=AC=EB=91=90=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/kkkk/presentation/main/rhythm/RhythmFragment.kt | 1 + .../src/main/java/com/kkkk/stempo/presentation/WatchActivity.kt | 2 ++ 2 files changed, 3 insertions(+) diff --git a/presentation/src/main/java/com/kkkk/presentation/main/rhythm/RhythmFragment.kt b/presentation/src/main/java/com/kkkk/presentation/main/rhythm/RhythmFragment.kt index 6a657dd..b5d08a0 100644 --- a/presentation/src/main/java/com/kkkk/presentation/main/rhythm/RhythmFragment.kt +++ b/presentation/src/main/java/com/kkkk/presentation/main/rhythm/RhythmFragment.kt @@ -315,6 +315,7 @@ class RhythmFragment : BaseFragment(R.layout.fragment_rhy DataMapItem.fromDataItem(item).dataMap.apply { val record = getInt(KEY_RECORD) Timber.tag("okhttp").d("LISTENER : DATA RECEIVED : $record") + // TODO 여기서 기록 받아서 서버통신으로 기록 } } } diff --git a/stempo/src/main/java/com/kkkk/stempo/presentation/WatchActivity.kt b/stempo/src/main/java/com/kkkk/stempo/presentation/WatchActivity.kt index b63756a..78954ed 100644 --- a/stempo/src/main/java/com/kkkk/stempo/presentation/WatchActivity.kt +++ b/stempo/src/main/java/com/kkkk/stempo/presentation/WatchActivity.kt @@ -38,6 +38,7 @@ class WatchActivity : ComponentActivity(), DataClient.OnDataChangedListener { } } + // TODO 이 함수로 정지 시 결과값 전송 WearableDataManager(Wearable.getDataClient(this)).sendIntToPhone( PATH_RECORD, KEY_RECORD, @@ -66,6 +67,7 @@ class WatchActivity : ComponentActivity(), DataClient.OnDataChangedListener { DataMapItem.fromDataItem(item).dataMap.apply { val bpm = getInt(KEY_BPM) Timber.tag("okhttp").d("LISTENER : DATA RECEIVED : $bpm") + // TODO 여기서 bpm 받아서 초기값으로 설정 } } }