|
@@ -15,14 +15,12 @@ import com.br_technology.securitytrain_master.ui.bean.TrainReport |
|
@@ -15,14 +15,12 @@ import com.br_technology.securitytrain_master.ui.bean.TrainReport |
15
|
*/
|
15
|
*/
|
16
|
class LearningReportViewModel : BaseViewModel<TrainRepository>() {
|
16
|
class LearningReportViewModel : BaseViewModel<TrainRepository>() {
|
17
|
val data = MutableLiveData<BaseResponse<CommonReport<TrainReport>>>()
|
17
|
val data = MutableLiveData<BaseResponse<CommonReport<TrainReport>>>()
|
18
|
- val data = MutableLiveData<BaseResponse<CommonReport<TrainReport>>>()
|
|
|
19
|
|
18
|
|
20
|
fun getReport(){
|
19
|
fun getReport(){
|
21
|
mRepository.trainReport(data)
|
20
|
mRepository.trainReport(data)
|
22
|
}
|
21
|
}
|
23
|
|
22
|
|
24
|
fun getDetail(){
|
23
|
fun getDetail(){
|
25
|
- mRepository.get(data)
|
|
|
26
|
- TrainDetail
|
24
|
+// mRepository.get(data)
|
27
|
}
|
25
|
}
|
28
|
} |
26
|
} |