Skip to content

Commit

Permalink
#94 [FIX] : fix binding error
Browse files Browse the repository at this point in the history
  • Loading branch information
sohyun127 committed Oct 11, 2024
1 parent 2a453c6 commit 76c91a4
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 @@ -28,7 +28,7 @@ abstract class BindingProfileFragment : Fragment() {
container: ViewGroup?,
savedInstanceState: Bundle?,
): View? {
_binding = FragmentProfileBinding.inflate(layoutInflater)
_binding = FragmentProfileBinding.inflate(inflater, container, false)
return binding.root
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ProfileMemberFragment : BindingProfileFragment() {

override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
userId = arguments?.getLong(Arg.PROFILE_USER_ID) ?: -1L
userId = arguments?.getLong(Arg.PROFILE_USER_ID) ?: return
}

override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
Expand Down

0 comments on commit 76c91a4

Please sign in to comment.