package Ġapp . future d . ark ite kt . example h ilt . injection Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . content . res . Resources Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġdagger . h ilt . Install In Ċ import Ġdagger . h ilt . android . qual ifiers . ApplicationContext Ċ import Ġdagger . h ilt . components . Singleton Component Ċ Ċ @ Module Ċ @ Install In ( Singleton Component :: class ) Ċ object ĠApplication Module Ġ{ ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġresources (@ ApplicationContext Ġcontext : ĠContext ): ĠResources Ġ= Ġcontext . resources Ċ } Ċ