package Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . base Ċ Ċ import Ġandroid . app . Application Ċ import Ġandroid . content . Context Ċ import Ġandroidx . databinding . Property Change Registry Ċ import Ġandroidx . lifecycle . Android ViewModel Ċ import Ġio . reactivex . Observable Ċ import Ġio . reactivex . dis pos ables . Composite Disposable Ċ import Ġio . reactivex . subjects . Replay Subject Ċ import Ġio . reactivex . subjects . Subject Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . dependency injection . components . D agger ViewModel Injector Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . dependency injection . components . ViewModel Injector Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . dependency injection . modules . Asset Repo Module Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . dependency injection . modules . Repo Module Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . dependency injection . modules . Room Repo Module Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . dependency injection . modules . Util Module Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . auth . Auth Logged User ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . auth . Auth SignIn ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . auth . Auth SignUp ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . base . interfaces . Supports Activation Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . gram m arr ule . Grammar Rule Detail Edit ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . gram m arr ule . Grammar Rule Detail Read ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . gram m arr ule . Grammar Rule List ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . gram m arr ule . Grammar Rule Search List ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . sentence . Sentence Detail Edit ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . sentence . Sentence Detail Read ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . sentence . Sentence List ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . sentence . Sentence Search List ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . settings . Settings User Interface ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . settings . Settings Word Quiz ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . settings . about . Settings App Summary ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . settings . about . Settings Third Party Library List ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . settings . auth . Settings Auth Change Password ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . settings . auth . Settings Auth Delete Account ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . settings . auth . Settings Auth User ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . settings . backup . Settings Backup ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . word . Word Detail Edit ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . word . Word Detail Read ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . word . Word List ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . word . Word Search List ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . word . fav our ites . Word F avour ites List ViewModel Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . features . word . study .* Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . helpers . Base Observable Ċ import Ġjp . mi h ails ku z mins . s ug oin ih ongo app . helpers . ViewModel Activator Ċ Ċ abstract Ġclass ĠViewModel Base ( app : ĠApplication ) Ġ: ĠAndroid ViewModel ( app ), ĠBase Observable , ĠSupports Activation Ġ{ ĊĊ ĉ private Ġval Ġinjector : ĠViewModel Injector Ġ= ĠD agger ViewModel Injector Ċĉ ĉ . builder () Ċĉ ĉ . repo Module ( Repo Module ) Ċĉ ĉ . util Module ( Util Module . getInstance ( app )) Ċĉ ĉ . asset Repo Module ( Asset Repo Module . getInstance ( app )) Ċĉ ĉ . room Repo Module ( Room Repo Module . getInstance ( app )) Ċĉ ĉ . build () ĊĊ ĉ init Ġ{ Ċĉ ĉ inject () Ċ ĉ } ĊĊ ĉ final Ġoverride Ġval Ġactiv ator Ġ= ĠViewModel Activator () Ċ ĉ final Ġoverride Ġvar Ġcallbacks : ĠProperty Change Registry ? Ġ= Ġnull ĊĊ ĉ protected Ġval Ġclean Up : ĠComposite Disposable Ġ= ĠComposite Disposable () Ċ ĉ protected Ġval Ġis Initial ised Subject : ĠSubject < Boolean > Ġ= ĠRe play Subject . create With Size ( 1 ) ĊĊ ĉ val Ġcontext : ĠContext Ċĉ ĉ get () Ġ= Ġget Application () ĊĊ ĉ val Ġis Initial ised : ĠObservable < Boolean > Ċĉ ĉ get () Ġ= Ġis Initial ised Subject . distinct Until Changed () ĊĊ ĉ override Ġfun Ġon Cle ared () Ġ{ Ċĉ ĉ clean Up . dispose () Ċĉ ĉ // ĠDo Ġnot Ġcall Ġin ĠF rag ments Ġso Ġthat Ġit Ġis Ġnot Ġattached Ġto Ġthe Ġfragment Ġlifecycle Ċĉ ĉ activ ator . dispose () Ċĉ ĉ super . on Cle ared () Ċ ĉ } ĊĊ ĉ private Ġfun Ġinject () Ġ{ Ċĉ ĉ when Ġ( this ) Ġ{ Ċĉĉ ĉ is ĠGram mar Rule List ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠGram mar Rule Search List ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠGram mar Rule Detail Read ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠGram mar Rule Detail Edit ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠSentence List ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠSentence Search List ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠSentence Detail Read ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠSentence Detail Edit ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠWord List ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠWord F avour ites List ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠWord Search List ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠWord Detail Read ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠWord Detail Edit ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠSettings Word Quiz ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠSettings User Interface ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠSettings Backup ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠSettings App Summary ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠSettings Third Party Library List ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠWord Study Select Type ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠWord Study ListOf Words List ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠWord Study Find Re cogn ise ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠWord Study Result Find Re cogn ise List ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠAuth SignIn ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠAuth SignUp ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠAuth Logged User ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠSettings Auth User ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠSettings Auth Change Password ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠSettings Auth Delete Account ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉĉ ĉ is ĠWord Study History Find Re cogn ise List ViewModel Ġ-> Ġinjector . inject ( this ) Ċĉ ĉ } Ċ ĉ } Ċ }