package Ġio . github . well ing ton cost a . android work dev talk . app Ċ Ċ import Ġandroid . app . Application Ċ import Ġio . github . well ing ton cost a . android work dev talk . app . contact registration . Contact Registration ViewModel Ċ import Ġio . github . well ing ton cost a . android work dev talk . app . list contacts . List Contacts ViewModel Ċ import Ġio . github . well ing ton cost a . android work dev talk . domain . Contact Repository Ċ import Ġio . github . well ing ton cost a . android work dev talk . resource . Contact Database Repository Ċ import Ġorg . k oin . android . ext . android . start K oin Ċ import Ġorg . k oin . android x . view model . ext . k oin . viewModel Ċ import Ġorg . k oin . dsl . module . module Ċ import Ġjava . util . Collections . singletonList Ċ Ċ class ĠApp Ġ: ĠApplication () Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġapp Module Ġ= Ġmodule Ġ{ ĊĠĠĠĠĠĠĠ Ġsingle Ġ{ ĠContact Database Repository () Ġas ĠContact Repository Ġ} ĊĊĠĠĠĠĠĠĠ ĠviewModel Ġ{ ĠList Contacts ViewModel ( get ()) Ġ} ĊĠĠĠĠĠĠĠ ĠviewModel Ġ{ ĠContact Registration ViewModel ( get ()) Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate () Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate () ĊĊĠĠĠĠĠĠĠ Ġstart K oin ( this , Ġsingleton List ( app Module )) ĊĠĠĠ Ġ} Ċ Ċ }