package Ġde . kt bl . e ik ot iger . data . app repository čĊč Ċ import Ġandroidx . lifecycle . LiveData č Ċ import Ġde . kt bl . e ik ot iger . data . master model . instance . Instance č Ċ import Ġde . kt bl . e ik ot iger . data . master model . instance . Instance Dao č Ċ import Ġde . kt bl . e ik ot iger . data . master model . stock . Stock Dao č Ċ import Ġde . kt bl . e ik ot iger . data . master model . stock . Stock With Branch č Ċ import Ġde . kt bl . e ik ot iger . view . data interface . recording . I Recording Environment DA č Ċ import Ġjavax . inject . Inject čĊč Ċ class ĠRecord ing Environment Repository Ġ@ Inject Ġconstructor ( čĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġinstance Dao : ĠInstance Dao , čĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġstock Dao : ĠStock Dao č Ċ ) Ġ: ĠI Recording Environment DA Ġ{ čĊĠĠĠ Ġoverride Ġfun Ġload Instance ById ( id : ĠLong ): ĠLive Data < Instance > Ġ{ čĊĠĠĠĠĠĠĠ Ġreturn Ġinstance Dao . load ( id ) čĊĠĠĠ Ġ} čĊčĊĠĠĠ Ġoverride Ġfun Ġload Stock With Branch ( id : ĠLong ): ĠLive Data < Stock With Branch > Ġ{ čĊĠĠĠĠĠĠĠ Ġreturn Ġstock Dao . load Stock With Branch ById ( id ) čĊĠĠĠ Ġ} č Ċ }