Skip to content

Commit

Permalink
#71 [DEL] : remove swipe
Browse files Browse the repository at this point in the history
  • Loading branch information
sohyun127 committed Sep 6, 2024
1 parent 2cb3518 commit a0d3773
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ class ProfileAuthFragment : BindingProfileFragment() {
setAppbar()
initAppbarHamburgerClickListener()
collect()
// setSwipeLayout()
}

private fun setAppbar() {
Expand Down Expand Up @@ -58,13 +57,6 @@ class ProfileAuthFragment : BindingProfileFragment() {
}
}

private fun setSwipeLayout() {
binding.layoutProfileSwipe.setOnRefreshListener {
binding.layoutProfileSwipe.isRefreshing = false
viewModel.fetchAuthId()
}
}

private fun setProfilePagerAdapter(data: Profile) {
binding.vpProfile.adapter = ProfilePagerStateAdapter(this, data.id, data.nickName, ProfileUserType.AUTH)
TabLayoutMediator(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ class ProfileMemberFragment : BindingProfileFragment() {
initBackBtnClickListener()
viewModel.fetchProfileInfo(userId)
collect()
// setSwipeLayout()
}

private fun initBackBtnClickListener() {
Expand All @@ -61,13 +60,6 @@ class ProfileMemberFragment : BindingProfileFragment() {
}
}

private fun setSwipeLayout() {
binding.layoutProfileSwipe.setOnRefreshListener {
binding.layoutProfileSwipe.isRefreshing = false
viewModel.fetchProfileInfo(userId)
}
}

private fun setProfilePagerAdapter(data: Profile) {
binding.vpProfile.adapter = ProfilePagerStateAdapter(this, data.id, data.nickName, ProfileUserType.MEMBER)
TabLayoutMediator(
Expand Down

0 comments on commit a0d3773

Please sign in to comment.