package Ġcom . n 2 k sp . expense _ tracker . ui . about _ us Ċ Ċ import Ġandroid . annotation . Suppress Lint Ċ import Ġandroid . view . MenuItem Ċ import Ġandroid . view . View Ċ import Ġandroid . widget . LinearLayout Ċ import Ġandroidx . core . app . Nav Utils Ċ import Ġandroidx . recyclerview . widget . Divider Item Decoration Ċ import Ġandroidx . recyclerview . widget . Linear LayoutManager Ċ import Ġcom . n 2 k sp . expense _ tracker . R Ċ import Ġcom . n 2 k sp . expense _ tracker . data . model . About Us Model Model Creator Ċ import Ġcom . n 2 k sp . expense _ tracker . di . component . D agger About Us Adapter Component Ċ import Ġcom . n 2 k sp . expense _ tracker . di . module . Context Module Ċ import Ġkotlinx . android . synt hetic . main . activity _ about _ us . view .* Ċ import Ġjavax . inject . Inject Ċ Ċ @ Suppress Lint (" View Constructor ") Ċ class ĠAbout Us View ( private Ġval Ġactivity : ĠAbout Us Activity ) Ġ: ĠLinearLayout ( activity ) Ġ{ ĊĊĊĠĠĠ Ġ@ Inject ĊĠĠĠ Ġlateinit Ġvar Ġabout Us Adapter : ĠAbout Us Adapter ĊĊĠĠĠ Ġ@ Inject ĊĠĠĠ Ġlateinit Ġvar Ġdivider Item Decoration : ĠDiv ider Item Decoration ĊĊĠĠĠ Ġ@ Inject ĊĠĠĠ Ġlateinit Ġvar Ġlinear LayoutManager : ĠLinearLayoutManager ĊĊĠĠĠ Ġinit Ġ{ ĊĠĠĠĠĠĠĠ Ġinit View ( activity ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġfun Ġinit View ( activity : ĠAbout Us Activity ) Ġ{ ĊĠĠĠĠĠĠĠ ĠD agger About Us Adapter Component . builder () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. context Module ( Context Module ( context )) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. build () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. inject ( this ) ĊĊĠĠĠĠĠĠĠ ĠView . inflate ( activity , ĠR . layout . activity _ about _ us , Ġthis ) ĊĊĠĠĠĠĠĠĠ Ġactivity . set Support ActionBar ( about Us Toolbar ) ĊĊĠĠĠĠĠĠĠ Ġactivity . support ActionBar ?. let Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġit . set Display Home As Up Enabled ( true ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġit . set Display Show Home Enabled ( true ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġrv About Us . layout Manager Ġ= Ġlinear LayoutManager ĊĊĠĠĠĠĠĠĠ Ġabout Us Adapter . addAll Data ( About Us Model Model Creator . get Contributor List ()) ĊĠĠĠĠĠĠĠ Ġrv About Us . adapter Ġ= Ġabout Us Adapter ĊĊĠĠĠĠĠĠĠ Ġrv About Us . addItem Decoration ( divider Item Decoration ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġon Options ItemSelected ( item : ĠMenuItem ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġitem ?. let Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġif Ġ( it . itemId Ġ== Ġandroid . R . id . home ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠNav Utils . navigate Up From Same Task ( activity ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ