AppointmentViewModel

class AppointmentViewModel @Inject constructor(oauthPreferences: OauthPreferences, appointmentRepository: AppointmentRepository, val context: Context) : ViewModel

Constructors

Link copied to clipboard
@Inject
constructor(oauthPreferences: OauthPreferences, appointmentRepository: AppointmentRepository, context: Context)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun createAppointment(context: Context, doctor: Doctor, dateTime: Date)
Link copied to clipboard
Link copied to clipboard
suspend fun removeAppointment(id: String)