package Ġcom . gro ve . crm . ui . transaction Ċ Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġandroidx . lifecycle . Mutable LiveData Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġcom . gro ve . crm . data . Transaction Activity Repository Ċ import Ġcom . gro ve . crm . data . model . Transaction History Ċ Ċ class ĠTransaction ViewModel Ġ: ĠViewModel () Ġ{ ĊĊĠĠĠ Ġvar Ġld Transactions : ĠMutable LiveData < Transaction History >? Ġ= Ġnull ĊĊĠĠĠ Ġfun ĠgetList Transactions () Ġ: ĠLive Data < Transaction History >? Ġ{ ĊĠĠĠĠĠĠĠ Ġthis . ld Transactions Ġ= ĠTransaction Activity Repository . getList Transactions () ĊĠĠĠĠĠĠĠ Ġreturn Ġthis . ld Transactions ĊĠĠĠ Ġ} Ċ }