|
@@ -1,6 +1,7 @@
|
|
|
package com.yingyangfly.mmse.fragment
|
|
|
|
|
|
import android.os.Bundle
|
|
|
+import android.util.Log
|
|
|
import androidx.navigation.Navigation
|
|
|
import com.yingyang.mmse.R
|
|
|
import com.yingyang.mmse.databinding.FragmentSelectedItemBinding
|
|
@@ -15,10 +16,10 @@ class SelectedItemFragment : BaseFragment<FragmentSelectedItemBinding>() {
|
|
|
/**
|
|
|
* 问题id
|
|
|
*/
|
|
|
- var questionId = ""
|
|
|
+ var questionId = 0
|
|
|
|
|
|
override fun onCreate(savedInstanceState: Bundle?) {
|
|
|
- questionId = arguments?.getString("questionId") ?: ""
|
|
|
+ questionId = arguments?.getInt("questionId") ?: 2
|
|
|
super.onCreate(savedInstanceState)
|
|
|
}
|
|
|
|
|
@@ -41,5 +42,6 @@ class SelectedItemFragment : BaseFragment<FragmentSelectedItemBinding>() {
|
|
|
|
|
|
override fun onResume() {
|
|
|
super.onResume()
|
|
|
+ Log.e("wpp", "-------------------->" + questionId)
|
|
|
}
|
|
|
}
|