package Ġcom . na uf al pr ak oso . super hero app . di Ċ Ċ import Ġandroid . content . Context Ċ import Ġcom . na uf al pr ak oso . super hero app . database . App Database Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġdagger . h ilt . Install In Ċ import Ġdagger . h ilt . android . components . Application Component Ċ import Ġdagger . h ilt . android . qual ifiers . ApplicationContext Ċ import Ġjavax . inject . Singleton Ċ Ċ @ Install In ( Application Component :: class ) Ċ @ Module Ċ class ĠRoom Module Ġ{ ĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġprovide App Database (@ ApplicationContext Ġcontext : ĠContext ): ĠApp Database Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠApp Database . build Database ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġcontext ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} Ċ }