...
|
...
|
@@ -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 |
...
|
...
|
|