Skip to content

Commit

Permalink
Feature(dummy): "add temporary dummy data"
Browse files Browse the repository at this point in the history
- add temporary dummy data for test video
- move progress activity on click itemClass view

related to : dnd-side-project#176
  • Loading branch information
tmdgh1592 committed Feb 25, 2022
1 parent 524032b commit c28f5cd
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class SubjectFragment : BaseFragment<FragmentClassBinding, SubjectViewModel>(),

newSubjectEntity.also {
showInviteDialog(it) // 초대 코드 다이얼로그를 보여준다.
hostViewModel?.addSubject(it) // 수업 리스트에 추가한다.
hostViewModel!!.addSubject(it) // 수업 리스트에 추가한다.
}

}
Expand Down Expand Up @@ -258,7 +258,9 @@ class SubjectFragment : BaseFragment<FragmentClassBinding, SubjectViewModel>(),
}
R.id.class_btn -> {
// 선택한 사용자의 피드백 화면으로 이동합니다.
startActivity(Intent(requireContext(), ClassProgressActivity::class.java))
startActivity(Intent(requireContext(), ClassProgressActivity::class.java).putExtra(
INTENT_SUBJECT_ID_KEY, hostViewModel.getClassModel(position).subjectId
))
}
}
}
Expand Down

0 comments on commit c28f5cd

Please sign in to comment.