File tree Expand file tree Collapse file tree 1 file changed +1
-24
lines changed
presentation/src/main/java/com/stop/ui/alarmsetting Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class AlarmSettingFragment : Fragment() {
28
28
override fun onCreateView (
29
29
inflater : LayoutInflater , container : ViewGroup ? ,
30
30
savedInstanceState : Bundle ?
31
- ): View ? {
31
+ ): View {
32
32
_binding = FragmentAlarmSettingBinding .inflate(inflater, container, false )
33
33
34
34
initBinding()
@@ -38,29 +38,6 @@ class AlarmSettingFragment : Fragment() {
38
38
39
39
override fun onViewCreated (view : View , savedInstanceState : Bundle ? ) {
40
40
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
-
64
41
65
42
initView()
66
43
setButtonListener()
You can’t perform that action at this time.
0 commit comments