package Ġme . w illiam he ster . reddit Ċ Ċ import Ġandroid . app . Application Ċ import Ġio . realm . Realm Ċ Ċ import Ġme . w illiam he ster . reddit . inject . Application Component Ċ import Ġme . w illiam he ster . reddit . inject . Application Module Ċ import Ġme . w illiam he ster . reddit . inject . D agger Application Component Ċ Ċ /** ĠContains Ġthe ĠD agger Ġcomponent Ġfor Ġthe Ġapplication . Ġ Ġ*/ Ċ class ĠB read it Application Ġ: ĠApplication () Ġ{ ĊĊĠ Ġlateinit Ġvar Ġapplication Component : ĠApplication Component ĊĠĠĠ Ġprivate Ġset ĊĊĠ Ġoverride Ġfun ĠonCreate () Ġ{ ĊĠĠĠ Ġsuper . onCreate () ĊĊĠĠĠ ĠRealm . init ( this ) ĊĠĠĠ Ġapplication Component Ġ= ĊĠĠĠĠĠĠĠ ĠD agger Application Component ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. builder () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. application Module ( Application Module ( this )) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. build () ĊĠ Ġ} Ċ } Ċ