package Ġcom . en ec uum . wl . data . li ved ata Ċ Ċ import Ġandroidx . lifecycle . Lifecycle Owner Ċ import Ġandroidx . lifecycle . Mutable LiveData Ċ import Ġandroidx . lifecycle . Observer Ċ import Ġcom . en ec uum . lib . api . Transactions Ċ Ċ interface ĠTransactions LiveData Repository Ġ{ ĊĠĠĠ Ġfun Ġobserve Transactions ( owner : ĠLifecycle Owner , Ġobserver : ĠObserver < Transactions >) ĊĠĠĠ Ġfun Ġremove Observer Transactions ( owner : ĠLifecycle Owner ) ĊĠĠĠ Ġfun Ġget Transactions (): ĠTransactions ĊĠĠĠ Ġfun Ġset Transactions ( response : ĠTransactions ) Ċ } Ċ Ċ class ĠTransactions LiveData Ġ: ĠMutable LiveData < Transactions >(), ĠTransactions LiveData Repository Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġobserve Transactions ( ĊĠĠĠĠĠĠĠ Ġowner : ĠLifecycle Owner , ĊĠĠĠĠĠĠĠ Ġobserver : ĠObserver < Transactions > ĊĠĠĠ Ġ) Ġ{ ĊĠĠĠĠĠĠĠ Ġobserve ( owner , Ġobserver ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġremove Observer Transactions ( owner : ĠLifecycle Owner ) Ġ{ ĊĠĠĠĠĠĠĠ Ġremove Observer s ( owner ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġset Transactions ( response : ĠTransactions ) Ġ{ ĊĠĠĠĠĠĠĠ Ġpost Value ( response ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Transactions (): ĠTransactions Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġvalue !! ĊĠĠĠ Ġ} Ċ }