package Ġcom . r 4 z iel ch icago . android . my application . modules Ċ Ċ import Ġandroid . app . Application Ċ import Ġcom . r 4 z iel ch icago . android . my application . api . Mar vel Api Ċ import Ġcom . r 4 z iel ch icago . android . my application . network . Network Service Ċ import Ġcom . r 4 z iel ch icago . android . my application . utilities . Shared Prefs Util Ċ import Ġcom . r 4 z iel ch icago . android . my application . utilities . Shared Prefs Util Impl Ċ import Ġorg . k oin . android . ext . k oin . android Application Ċ import Ġorg . k oin . dsl . module Ċ Ċ val Ġapp Module Ġ= Ġmodule Ġ{ ĊĊĠĠĠ Ġval Ġnetwork Service Ġ= ĠNetwork Service () ĊĠĠĠ Ġval Ġretrofit Ġ= Ġnetwork Service . get Ret rofit Instance () ĊĠĠĠ Ġval Ġmar vel Api Ġ= Ġretrofit . create ( Mar vel Api :: class . java ) ĊĊĠĠĠ Ġfun Ġprovide Mar vel Api () Ġ= Ġmar vel Api ĊĠĠĠ Ġfun Ġprovide Shared Prefs ( app : ĠApplication ): ĠShared Prefs Util Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠShared Prefs Util Impl ( app ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġsingle Ġ{ Ġprovide Mar vel Api () Ġ} ĊĠĠĠ Ġsingle Ġ{ Ġprovide Shared Prefs ( android Application ()) } Ċ }