|
@@ -20,14 +20,20 @@ class MemoryWordsFragment : BaseFragment<FragmentMemoryWordsBinding>() {
|
|
|
override fun initListener() {
|
|
|
binding {
|
|
|
btnPrevious.setOnSingleClickListener {
|
|
|
-
|
|
|
+ val bundle = Bundle()
|
|
|
+ bundle.putInt("questionId", 30)
|
|
|
+ val controller = Navigation.findNavController(it)
|
|
|
+ controller.navigate(
|
|
|
+ R.id.action_memoryWordsFragment_to_recognitionImageFragment,
|
|
|
+ bundle
|
|
|
+ )
|
|
|
}
|
|
|
btnNext.setOnSingleClickListener {
|
|
|
val bundle = Bundle()
|
|
|
bundle.putInt("questionId", 19)
|
|
|
val controller = Navigation.findNavController(it)
|
|
|
controller.navigate(
|
|
|
- R.id.action_soundRecordFragment_to_multipleChoiceFragment,
|
|
|
+ R.id.action_memoryWordsFragment_to_multipleChoiceFragment,
|
|
|
bundle
|
|
|
)
|
|
|
}
|