ViewModel

class ViewModel(val binding: <Error class: unknown class>) : RecyclerView.ViewHolder

class that will representative to each view will create with specific data.

Parameters

binding

Constructors

Link copied to clipboard
constructor(binding: <Error class: unknown class>)

Properties

Link copied to clipboard
val binding: <Error class: unknown class>

Functions

Link copied to clipboard
fun bind(item: AppointmentData?)

after created view it will bind with this method that responsibility for adding data to view component.