package Ġcom . ky lix . submission b aj p 2 . ui . tv show Ċ Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġcom . ky lix . submission b aj p 2 . model . repository . Data Repository Ċ import Ġcom . ky lix . submission b aj p 2 . model . repository . remote . ItemList Ċ import Ġcom . ky lix . submission b aj p 2 . model . repository . remote . Tv Show Detail Ċ Ċ class ĠT v Show ViewModel ( private Ġval Ġdata Repository : ĠData Repository ) Ġ: ĠViewModel () Ġ{ ĊĠĠĠ Ġval Ġtv Show : ĠLive Data < List < ItemList >> Ġ= Ġdata Repository . get Tv Show () ĊĠĠĠ Ġfun Ġget Tv Show Detail ( tv Id : ĠString ): ĠLive Data < Tv Show Detail > Ġ= Ġdata Repository . get Tv Show Detail ( tv Id ) Ċ }