|
@@ -2,6 +2,7 @@ package com.hongyegroup.cpt_pensonal.mvvm
|
|
|
|
|
|
import android.app.Activity
|
|
|
import android.app.DatePickerDialog
|
|
|
+import androidx.hilt.lifecycle.ViewModelInject
|
|
|
import androidx.lifecycle.LiveData
|
|
|
import androidx.lifecycle.MutableLiveData
|
|
|
import com.guadou.cs_cptservices.binding.BaseDataBindingAdapter
|
|
@@ -12,8 +13,10 @@ import com.hongyegroup.cpt_pensonal.R
|
|
|
import com.hongyegroup.cpt_pensonal.bean.MakeAppointmentTime
|
|
|
import java.util.*
|
|
|
|
|
|
-@Suppress("NAME_SHADOWING")
|
|
|
-class PensonalAppointmentMakeViewModel : BaseViewModel() {
|
|
|
+
|
|
|
+class PensonalAppointmentMakeViewModel @ViewModelInject constructor(
|
|
|
+
|
|
|
+) : BaseViewModel() {
|
|
|
|
|
|
var mDatas = mutableListOf<MakeAppointmentTime>()
|
|
|
val mAdapter by lazy { BaseDataBindingAdapter(R.layout.item_make_appointment_time, BR.item, mDatas) }
|