package Ġcom . example . task management . di Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroidx . room . Room Ċ import Ġcom . bump tech . glide . G lide Ċ import Ġcom . bump tech . glide . Request Manager Ċ import Ġcom . bump tech . glide . request . RequestOptions Ċ import Ġcom . example . task management . R Ċ import Ġcom . example . task management . data . Task Management Dao Ċ import Ġcom . example . task management . data . Task Management Database Ċ import Ġcom . example . task management . repositories . Default Task Management Repository Ċ import Ġcom . example . task management . repositories . Task Management Repository Ċ import Ġcom . example . task management . utils . Constants . DATABASE _ NAME Ċ 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 Ċ import Ġjavax . inject . Singleton Ċ Ċ @ Module Ċ @ Install In ( Singleton Component :: class ) Ċ object ĠApp Module Ġ{ ĊĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġprovide Task Management Database ( ĊĠĠĠĠĠĠĠ Ġ@ ApplicationContext Ġcontext : ĠContext ĊĠĠĠ Ġ) Ġ= ĠRoom . database Builder ( ĊĠĠĠĠĠĠĠ Ġcontext , ĊĠĠĠĠĠĠĠ ĠTask Management Database :: class . java , ĊĠĠĠĠĠĠĠ ĠDATABASE _ NAME ĊĠĠĠ Ġ). fallback To Dest ruct ive Migration (). build () ĊĊĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġprovide Task Management Dao ( ĊĠĠĠĠĠĠĠ Ġdatabase : ĠTask Management Database ĊĠĠĠ Ġ) Ġ= Ġdatabase . task Management Dao () ĊĊĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġprovide Repository ( ĊĠĠĠĠĠĠĠ Ġdao : ĠTask Management Dao ĊĠĠĠ Ġ) Ġ Ġ= ĠDefault Task Management Repository ( dao ) Ġas ĠTask Management Repository ĊĊ Ċ }