package Ġcom . this a ay . yout uber . di . component Ċ Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġcom . this a ay . yout uber . di . Activity Scope Ċ import Ġcom . this a ay . yout uber . di . module . Activity Module Ċ import Ġcom . this a ay . yout uber . ui . MainActivity Ċ import Ġdagger . Component Ċ import Ġjavax . inject . Singleton Ċ Ċ @ Activity Scope Ċ @ Component ( dependencies Ġ= Ġ[ Application Component :: class ], modules Ġ= Ġ[ Activity Module :: class ]) Ċ interface ĠActivity Component Ġ{ ĊĠĠĠ Ġfun Ġinject ( activity : ĠMainActivity ) Ċ } ĊĊ