package Ġcom . vol can ic coder . spot ty . browse Ċ Ċ import Ġandroid . arch . lifecycle . Mutable LiveData Ċ import Ġandroid . arch . lifecycle . ViewModel Ċ import Ġcom . vol can ic coder . spot ty . helper . common list . Common View Item Ċ Ċ class ĠB rowse ViewModel Ġconstructor ( private Ġval Ġrepository : ĠB rowse Repository ) Ġ: ĠViewModel () Ġ{ ĊĊĠĠĠ Ġval Ġbrowse Header List Data Ġ= ĠMutable LiveData < ArrayList < Common View Item >>() ĊĠĠĠ Ġval Ġgenre LiveData Ġ= ĠMutable LiveData < ArrayList < Genre >>() ĊĊĠĠĠ Ġinit Ġ{ ĊĠĠĠĠĠĠĠ Ġget Browse Header () ĊĠĠĠĠĠĠĠ Ġget Gen res () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġfun Ġget Browse Header () Ġ{ ĊĠĠĠĠĠĠĠ Ġbrowse Header List Data . post Value ( repository . get Browse Page Header ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġfun Ġget Gen res () Ġ{ ĊĠĠĠĠĠĠĠ Ġgenre LiveData . post Value ( repository . get Genre Data ()) ĊĠĠĠ Ġ} Ċ }