Skip to content

Commit

Permalink
Fix: 홈 dday, 응원의 말 ui 연결 코드 수정 #5
Browse files Browse the repository at this point in the history
  • Loading branch information
dkyuuum committed Feb 16, 2024
1 parent 03a3626 commit 20cdc46
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions app/src/main/java/umc/com/mobile/project/ui/home/HomeFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import umc.com.mobile.project.ui.home.viewmodel.HomeViewModel
class HomeFragment : Fragment() {
private var _binding: FragmentHomeBinding? = null
private val viewModel: HomeViewModel by viewModels()
// private val gradDateViewModel: GradDateViewModel by activityViewModels()
private val gradDateViewModel: GradDateViewModel by activityViewModels()
private val binding get() = _binding!!

override fun onCreateView(
Expand All @@ -39,7 +39,6 @@ class HomeFragment : Fragment() {
viewModel.getUserInfo() // 홈 화면 정보 조회 api

navigateFragment()
// saveCheeringMemo() // 응원의 한마디 연결
setupRecyclerView() // recyclerView 연결
setupHomeInfoRetrofit() // 홈 화면 ui 연결

Expand All @@ -48,7 +47,6 @@ class HomeFragment : Fragment() {

override fun onPause() {
super.onPause()
// saveCheeringMemo()
}

override fun onDestroyView() {
Expand All @@ -66,13 +64,6 @@ class HomeFragment : Fragment() {
}
}

/*
private fun saveCheeringMemo() {
gradDateViewModel.dateResponse.observe(viewLifecycleOwner, Observer {
})
}
*/

private fun setupRecyclerView() {
val adapter = NextPlanRVAdapter()

Expand Down

0 comments on commit 20cdc46

Please sign in to comment.