|
|
@@ -6,7 +6,7 @@ import android.view.MotionEvent
|
|
|
import android.view.View
|
|
|
import androidx.core.os.bundleOf
|
|
|
import androidx.navigation.Navigation
|
|
|
-import com.hyphenate.easeui.utils.CommonUtils
|
|
|
+import com.yingyangfly.baselib.utils.CommonUtils
|
|
|
import com.yingyang.moca.R
|
|
|
import com.yingyang.moca.databinding.FragmentSingleChoiceBinding
|
|
|
import com.yingyangfly.baselib.base.BaseFragment
|
|
|
@@ -127,9 +127,7 @@ class SingleChoiceFragment : BaseFragment<FragmentSingleChoiceBinding>(),
|
|
|
if (v.id == R.id.btnPrevious) {
|
|
|
previousPage(v)
|
|
|
} else if (v.id == R.id.btnNext) {
|
|
|
- if (CommonUtils.isFastClick) {
|
|
|
- nextPage(v)
|
|
|
- }
|
|
|
+ nextPage(v)
|
|
|
}
|
|
|
}
|
|
|
MotionEvent.ACTION_CANCEL -> {
|
|
|
@@ -187,7 +185,9 @@ class SingleChoiceFragment : BaseFragment<FragmentSingleChoiceBinding>(),
|
|
|
loadData()
|
|
|
}
|
|
|
76 -> {
|
|
|
- RxBus.get().send(RxBusCodes.EndMOCAQuestion)
|
|
|
+ if (CommonUtils.isFastClick) {
|
|
|
+ RxBus.get().send(RxBusCodes.EndMOCAQuestion)
|
|
|
+ }
|
|
|
}
|
|
|
else -> {
|
|
|
val controller = Navigation.findNavController(v)
|