lmw
5 天以前 855a7e18a795f0db2453a19e3e8f26ba2ff553b4
app/src/main/java/com/dollearn/student/ui/mine/LearnRecordActivity.kt
@@ -7,6 +7,7 @@
import com.dollearn.student.network.request
import com.dollearn.student.ui.TransparentStatusBarActivity
import com.dollearn.student.ui.mine.adapter.GameRecordAdapter
import com.dollearn.student.utils.extention.formatToChinese
import kotlinx.android.synthetic.main.activity_learn_record.*
class LearnRecordActivity : TransparentStatusBarActivity() {
@@ -31,8 +32,8 @@
            list.clear()
            list.addAll(data?.gameRecordList?: arrayListOf())
            adapter.notifyDataSetChanged()
            tv_current.text = "当前进度:周目${data?.record?.week}"
            tv_last.text = "剩余进度:${data?.record?.week}周目"
            tv_current.text = "当前进度:周目${(data?.record?.week?:0).formatToChinese()}"
            tv_last.text = "剩余进度:${(data?.record?.surplus?:0).formatToChinese()}周目"
            tv_total.text = "${data?.record?.totalStudy}小时"
            tv_today.text = "${data?.record?.todayStudy}小时"
            tv_week.text = "${data?.record?.weekStudy}小时"