package Ġcom . tre pl abs . dd m . dd m app . screens . di agnosis result Ċ Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġandroidx . lifecycle . Mutable LiveData Ċ import Ġcom . google . firebase . auth . Firebase Auth Ċ import Ġcom . google . firebase . auth . Firebase User Ċ import Ġcom . tre pl abs . dd m . base . Base ViewModel Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠDiag nose Result ViewModel Ġ@ Inject Ġconstructor () Ġ: ĠBase ViewModel () Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġ_ user Ġ= ĠMutable LiveData < Firebase User >( Firebase Auth . getInstance (). currentUser ) ĊĊĠĠĠ Ġval Ġuser : ĠLive Data < Firebase User > ĊĠĠĠĠĠĠĠ Ġget () Ġ= Ġ_ user ĊĊĊĊĊĠĠĠ Ġoverride Ġfun Ġadd All LiveData To Observable s List () Ġ{ ĊĠĠĠ Ġ} Ċ Ċ } ĊĊ