package Ġcom . mo ham mad f ay az . hn . di Ċ Ċ import Ġandroid . content . Context Ċ import Ġcom . mo ham mad f ay az . hn . data . sources . local . H acker News DB Ċ import Ġcom . mo ham mad f ay az . hn . data . sources . local . dao . Comments Dao Ċ import Ġcom . mo ham mad f ay az . hn . data . sources . local . dao . F avour ites Dao Ċ import Ġcom . mo ham mad f ay az . hn . data . sources . local . dao . Ids Dao Ċ import Ġcom . mo ham mad f ay az . hn . data . sources . local . dao . Story Dao Ċ 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 ) Ċ class ĠDatabase Module Ġ{ ĊĠ Ġ@ Provides ĊĠ Ġfun Ġprovide Database (@ ApplicationContext Ġcontext : ĠContext ) Ġ= ĊĠĠĠ ĠH acker News DB . getInstance ( context ) ĊĊĠ Ġ@ Provides ĊĠ Ġfun Ġprovide Story Dao ( db : ĠH acker News DB ): ĠStory Dao Ġ= Ġdb . story Dao () ĊĊĠ Ġ@ Provides ĊĠ Ġfun Ġprovide Ids Dao ( db : ĠH acker News DB ): ĠI ds Dao Ġ= Ġdb . ids Dao () ĊĊĠ Ġ@ Provides ĊĠ Ġfun Ġprovide F avour ites Dao ( db : ĠH acker News DB ): ĠF avour ites Dao Ġ= Ġdb . fav our ites Dao () ĊĊĠ Ġ@ Provides ĊĠ Ġfun Ġprovide Comments Dao ( db : ĠH acker News DB ): ĠComments Dao Ġ= Ġdb . comments Dao () Ċ } Ċ