Skip to content

Commit

Permalink
[CHORE] #102 : viewlifecycle 빠진 부분 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongjaino committed Nov 17, 2023
1 parent 5315d2f commit 7f2b4a2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class TextDetectionFragment : Fragment() {
): View {
_binding = DataBindingUtil.inflate(inflater, R.layout.fragment_text_detection, container, false)
binding.viewModel = viewModel // xml viewModel init
binding.lifecycleOwner = viewLifecycleOwner
return binding.root
}

Expand Down Expand Up @@ -91,7 +92,7 @@ class TextDetectionFragment : Fragment() {
private fun showNegativeDialog(detectedList: List<Allergy>){
NegativeSignDialog(
context = requireContext(),
allergyList = detectedList
detectedAllergies = detectedList
).show()
}

Expand Down

0 comments on commit 7f2b4a2

Please sign in to comment.