diff --git a/app/src/main/java/com/br_technology/securitytrain_master/ui/view/mine/viewmodel/LearningReportViewModel.kt b/app/src/main/java/com/br_technology/securitytrain_master/ui/view/mine/viewmodel/LearningReportViewModel.kt index e74f203..6aa5d63 100644 --- a/app/src/main/java/com/br_technology/securitytrain_master/ui/view/mine/viewmodel/LearningReportViewModel.kt +++ b/app/src/main/java/com/br_technology/securitytrain_master/ui/view/mine/viewmodel/LearningReportViewModel.kt @@ -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 diff --git a/app/src/main/res/layout/item_special_exercises.xml b/app/src/main/res/layout/item_special_exercises.xml index ccfa8e9..18226fa 100644 --- a/app/src/main/res/layout/item_special_exercises.xml +++ b/app/src/main/res/layout/item_special_exercises.xml @@ -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