作者 zhangji

修改答题记录显示bug

... ... @@ -15,14 +15,12 @@ import com.br_technology.securitytrain_master.ui.bean.TrainReport
*/
class LearningReportViewModel : BaseViewModel<TrainRepository>() {
val data = MutableLiveData<BaseResponse<CommonReport<TrainReport>>>()
val data = MutableLiveData<BaseResponse<CommonReport<TrainReport>>>()
fun getReport(){
mRepository.trainReport(data)
}
fun getDetail(){
mRepository.get(data)
TrainDetail
// mRepository.get(data)
}
}
\ No newline at end of file
... ...
... ... @@ -4,8 +4,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="16dp"
android:orientation="vertical">
<LinearLayout
... ...