|
|
@@ -11,6 +11,7 @@ import com.yingyang.workbenches.entity.DayBean
|
|
|
import com.yingyang.workbenches.entity.MonthRecordBean
|
|
|
import com.yingyangfly.baselib.bean.Record
|
|
|
import com.yingyangfly.baselib.ext.setOnSingleClickListener
|
|
|
+import com.yingyangfly.baselib.ext.show
|
|
|
import com.yingyangfly.baselib.ext.toast
|
|
|
import com.yingyangfly.baselib.mvvm.BaseMVVMFragment
|
|
|
import com.yingyangfly.baselib.router.RouterUrlCommon
|
|
|
@@ -108,9 +109,11 @@ class DataMonitorFragment : BaseMVVMFragment<FragmentDataMonitorBinding, DataMon
|
|
|
ragMonitor.setOnCheckedChangeListener { group, checkedId ->
|
|
|
if (checkedId == R.id.ragExclusiveTraining) {
|
|
|
playClass = "A"
|
|
|
+ btnTrainingDaily.show(true)
|
|
|
getDayRecordDetail(true, true)
|
|
|
} else if (checkedId == R.id.ragFreeTraining) {
|
|
|
playClass = "C"
|
|
|
+ btnTrainingDaily.show(false)
|
|
|
getDayRecordDetail(true, true)
|
|
|
}
|
|
|
}
|