package Ġcom . test . architecture demo . ui . home Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . View Ċ import Ġandroidx . fragment . app . Fragment Ċ import Ġandroidx . fragment . app . view Models Ċ import Ġcom . test . architecture demo . R Ċ import Ġcom . test . architecture demo . databinding . Fragment Home Binding Ċ import Ġcom . test . architecture demo . ui . base . Base Fragment Ċ import Ġdagger . h ilt . android . Android EntryPoint Ċ Ċ /** Ċ Ġ* ĠA Ġsimple Ġ[ Fragment ] Ġsubclass . Ċ Ġ* ĠUse Ġthe Ġ[ Home Fragment . newInstance ] Ġfactory Ġmethod Ġto Ċ Ġ* Ġcreate Ġan Ġinstance Ġof Ġthis Ġfragment . Ċ Ġ*/ Ċ @ Android EntryPoint Ċ class ĠHome Fragment Ġ: ĠBase Fragment < Home ViewModel , ĠFragment Home Binding >( R . layout . fragment _ home ) Ġ{ ĊĠĠĠ Ġoverride Ġval ĠviewModel Ġby Ġview Models < Home ViewModel >() ĊĊĠĠĠ Ġoverride Ġfun Ġon View Created ( view : ĠView , ĠsavedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on View Created ( view , ĠsavedInstanceState ) ĊĠĠĠĠĠĠĠ ĠviewModel . getList () ĊĠĠĠ Ġ} Ċ }