package Ġio . ch thon ic . ig db . p oc Ċ Ċ import Ġandroid . app . Application Ċ import Ġandroid . content . Context Ċ import Ġandroid . content . res . Resources Ċ import Ġcom . github . sal om on br ys . kode in . K ode in Ċ import Ġcom . github . sal om on br ys . kode in . bind Ċ import Ġcom . github . sal om on br ys . kode in . instance Ċ import Ġcom . github . sal om on br ys . kode in . singleton Ċ import Ġio . ch thon ic . ig db . p oc . business . service . I gdb Service Ċ Ċ /** Ċ Ġ* ĠCreated Ġby Ġj hav atar Ġon Ġ 4 / 2 / 2 0 1 8 . Ċ Ġ*/ Ċ fun Ġdep Inject ( app : ĠApplication ): ĠK ode in Ġ{ ĊĠĠĠ Ġreturn ĠK ode in Ġ{ ĊĠĠĠĠĠĠĠ Ġbind < Application >() Ġwith Ġinstance ( app ) ĊĠĠĠĠĠĠĠ Ġbind < Context >() Ġwith Ġinstance ( app . application Context ) ĊĠĠĠĠĠĠĠ Ġbind < Resources >() Ġwith Ġinstance ( app . application Context . resources ) ĊĠĠĠĠĠĠĠ Ġbind < I gdb Service >() Ġwith Ġsingleton { ĠI gdb Service ( instance ()) Ġ} ĊĠĠĠ Ġ} Ċ }