Skip to content

Commit

Permalink
[ADD/#51] 동민을 위한 투두 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
Marchbreeze committed Aug 28, 2024
1 parent eb52ed9 commit 856a434
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ class RhythmFragment : BaseFragment<FragmentRhythmBinding>(R.layout.fragment_rhy
DataMapItem.fromDataItem(item).dataMap.apply {
val record = getInt(KEY_RECORD)
Timber.tag("okhttp").d("LISTENER : DATA RECEIVED : $record")
// TODO 여기서 기록 받아서 서버통신으로 기록
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class WatchActivity : ComponentActivity(), DataClient.OnDataChangedListener {
}
}

// TODO 이 함수로 정지 시 결과값 전송
WearableDataManager(Wearable.getDataClient(this)).sendIntToPhone(
PATH_RECORD,
KEY_RECORD,
Expand Down Expand Up @@ -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 받아서 초기값으로 설정
}
}
}
Expand Down

0 comments on commit 856a434

Please sign in to comment.