Skip to content

Commit

Permalink
[Add/#9] MyProfileFragment.kt에 dataBinding 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
gaeun5744 committed Jun 28, 2023
1 parent ed836a4 commit 02c5cdf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ class MyProfileFragment : Fragment() {

// 뷰가 만들어졌다.
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
binding.vmMyProfile = viewModel
binding.lifecycleOwner = viewLifecycleOwner
super.onViewCreated(view, savedInstanceState)
getProfile()
observeMyProfile()
clickLogOut()
}

Expand Down

0 comments on commit 02c5cdf

Please sign in to comment.