package Ġcom . learning . mv vm _ android . ui . main . view Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġandroidx . databinding . Data Binding Util Ċ import Ġcom . learning . mv vm _ android . R Ċ import Ġcom . learning . mv vm _ android . databinding . Activity Home Screen Binding Ċ import Ġcom . learning . mv vm _ android . di . splash _ module Ċ import Ġcom . learning . mv vm _ android . ui . main . view model . Home Screen ViewModel Ċ import Ġorg . k oin . core . context . load K oin Modules Ċ import Ġorg . k oin . android x . view model . ext . android . viewModel Ċ Ċ class ĠHome Screen Ġ: ĠAppCompatActivity () Ġ{ ĊĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġbinding : ĠActivity Home Screen Binding ĊĠĠĠ Ġprivate Ġval ĠviewModel : ĠHome Screen ViewModel Ġby ĠviewModel () ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ Ġload K oin Modules ( splash _ module ) ĊĠĠĠĠĠĠĠ Ġsetup ViewModel () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġfun Ġsetup ViewModel () Ġ{ ĊĠĠĠĠĠĠĠ Ġbinding Ġ= ĠData Binding Util . set ContentView ( this , ĠR . layout . activity _ home _ screen ) ĊĠĠĠ Ġ} Ċ }