package Ġcom . das arp . employee details . ui . view model Ċ Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġcom . das arp . employee details . data . model . Employee Model Ċ import Ġcom . das arp . employee details . data . repository . Employee Repository Ċ import Ġcom . das arp . employee details . utils . App Resource Ċ Ċ class ĠEmployee ViewModel Ġ: ĠViewModel () Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġemp Repo Ġ= ĠEmployee Repository () ĊĊĠĠĠ Ġfun Ġget Employee List () Ġ: ĠLive Data < App Resource < List < Employee Model >>> Ġ= Ġemp Repo . get Employee List () ĊĠĠĠ Ġfun Ġget Employee ( emp Id Ġ: ĠInt ) Ġ: ĠLive Data < App Resource < Employee Model >> Ġ= Ġemp Repo . get Employee ( emp Id ) Ċ Ċ }