Skip to content

Commit

Permalink
#178 [fix] requireActivty() → viewLifecycleOwner 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
murjune committed Aug 16, 2022
1 parent f9d17dc commit 0884bf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class EventDialogFragment : DialogFragment() {
_binding =
DataBindingUtil.inflate(inflater, R.layout.fragment_event_dialog, container, false)
binding.viewModel = viewModel
binding.lifecycleOwner = this@EventDialogFragment
binding.lifecycleOwner = viewLifecycleOwner
return binding.root
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class TempManagerDialogFragment : DialogFragment() {
_binding =
DataBindingUtil.inflate(inflater, R.layout.fragment_temp_manager, container, false)
binding.viewModel = viewModel
binding.lifecycleOwner = requireActivity()
binding.lifecycleOwner = viewLifecycleOwner
return binding.root
}

Expand Down

0 comments on commit 0884bf6

Please sign in to comment.