package Ġapp . bo let inh os . application . injection Ċ Ċ import Ġandroid . app . Application Ċ import Ġandroid . content . Context Ċ import Ġapp . bo let inh os . main . injection . Activity Ret ained Component Ċ import Ġcommon . AppContext Ċ import Ġcommon . Immediate Dispatcher Ċ import Ġcommon . Io Dispatcher Ċ import Ġcommon . Main Dispatcher Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġkotlinx . coroutines . Coroutine Dispatcher Ċ import Ġkotlinx . coroutines . Dispatch ers Ċ Ċ @ Module ( sub components Ġ= Ġ[ Activity Ret ained Component :: class ]) Ċ object ĠApp Module Ġ{ ĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ AppContext ĊĠĠĠ Ġinternal Ġfun Ġprovide Context ( app : ĠApplication ): ĠContext Ġ= Ġapp ĊĊĠĠĠ Ġ/* Ġre work Ġ-> Ġmult ib ind ing Ġ*/ ĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Immediate Dispatcher ĊĠĠĠ Ġinternal Ġfun Ġprovide Immediate Dispatcher (): ĠCor outine Dispatcher Ġ= ĠDispatch ers . Main . immediate ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Main Dispatcher ĊĠĠĠ Ġinternal Ġfun Ġprovide Main Dispatcher (): ĠCor outine Dispatcher Ġ= ĠDispatch ers . Main ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Io Dispatcher ĊĠĠĠ Ġinternal Ġfun Ġprovide Io Dispatcher (): ĠCor outine Dispatcher Ġ= ĠDispatch ers . IO Ċ } Ċ