package Ġfi . jar a . bird watcher . common . di . application Ċ Ċ import Ġandroid . app . Application Ċ import Ġandroid . content . Context Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġfi . jar a . bird watcher . common . filesystem . Android Bitmap Resolver Ċ import Ġfi . jar a . bird watcher . common . filesystem . Android Image Saver Ċ import Ġfi . jar a . bird watcher . common . filesystem . Bitmap Resolver Ċ import Ġfi . jar a . bird watcher . common . filesystem . Image Storage Ċ import Ġfi . jar a . bird watcher . common . location . Location Source Ċ import Ġfi . jar a . bird watcher . data . Observation Repository Ċ import Ġfi . jar a . bird watcher . observations . Insert New Observation UseCase Ċ import Ġfi . jar a . bird watcher . observations . Ob serve All Ob servations UseCase Ċ import Ġfi . jar a . bird watcher . observations . Ob serve Single Ob servations UseCase Ċ import Ġkotlinx . coroutines . Coroutine Dispatcher Ċ import Ġkotlinx . coroutines . Dispatch ers Ċ import Ġjava . text . DateFormat Ċ import Ġjavax . inject . Singleton Ċ Ċ @ Module Ċ class ĠApplication Module ( private Ġval Ġapplication : ĠApplication ) Ġ{ ĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġprovide Context (): ĠContext Ġ= Ġapplication ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġprovide Ob serve All Ob servations UseCase ( observation Repository : ĠOb servation Repository ): ĠOb serve All Ob servations UseCase Ġ= ĊĠĠĠĠĠĠĠ ĠOb serve All Ob servations UseCase ( observation Repository ) ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġprovide Ob serve Single Ob servations UseCase ( observation Repository : ĠOb servation Repository ): ĠOb serve Single Ob servations UseCase Ġ= ĊĠĠĠĠĠĠĠ ĠOb serve Single Ob servations UseCase ( observation Repository ) ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġprovide Insert New Ob servations UseCase ( ĊĠĠĠĠĠĠĠ Ġobservation Repository : ĠOb servation Repository , ĊĠĠĠĠĠĠĠ Ġlocation Source : ĠLocation Source , ĊĠĠĠĠĠĠĠ Ġimage Storage : ĠImage Storage ĊĠĠĠ Ġ): ĠInsert New Observation UseCase Ġ= ĊĠĠĠĠĠĠĠ ĠInsert New Observation UseCase ( observation Repository , Ġlocation Source , Ġimage Storage ) ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġfun Ġprovide Uri To Bitmap Resolver ( context : ĠContext ): ĠBitmap Resolver Ġ= ĠAndroid Bitmap Resolver ( context ) ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġfun Ġprovide Image Saver ( context : ĠContext ): ĠImage Storage Ġ= ĠAndroid Image Saver ( context ) ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġfun Ġprovide DateFormat (): ĠDate Format Ġ= ĠDate Format . get DateTime Instance () ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġfun Ġprovide Ui Dispatcher (): ĠCor outine Dispatcher Ġ= ĠDispatch ers . Main Ċ }