Skip to content

Commit 484a80f

Browse files
committed
fix: alarmSettingFragment 수정
1 parent 558a2f1 commit 484a80f

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

presentation/src/main/java/com/stop/ui/alarmsetting/AlarmSettingFragment.kt

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class AlarmSettingFragment : Fragment() {
2828
override fun onCreateView(
2929
inflater: LayoutInflater, container: ViewGroup?,
3030
savedInstanceState: Bundle?
31-
): View? {
31+
): View {
3232
_binding = FragmentAlarmSettingBinding.inflate(inflater, container, false)
3333

3434
initBinding()
@@ -38,29 +38,6 @@ class AlarmSettingFragment : Fragment() {
3838

3939
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
4040
super.onViewCreated(view, savedInstanceState)
41-
val test = AlarmUseCaseItem(
42-
"abc",
43-
"abc",
44-
listOf("ABC"),
45-
"abc","abc",true,true
46-
)
47-
48-
lifecycleScope.launch{
49-
alarmSettingViewModel.save(test)
50-
}
51-
52-
/* lifecycleScope.launch{
53-
alarmSettingViewModel.get().asLiveData().observe(viewLifecycleOwner){
54-
Log.e("ABC", it.toString())
55-
}
56-
}*/
57-
58-
lifecycleScope.launch{
59-
alarmSettingViewModel.get().collectLatest {
60-
Log.e("ABC", it.toString())
61-
}
62-
}
63-
6441

6542
initView()
6643
setButtonListener()

0 commit comments

Comments
 (0)