package Ġcom . acme . example . dependency injection Ċ Ċ import Ġcom . acme . example . Base Activity Ċ import Ġcom . acme . example . hello . Hello Activity Ċ import Ġdagger . Sub component Ċ import Ġdrive chain . android services . Activity Scope Ċ import Ġdrive chain . android services . Android Compat Activity Module Ċ Ċ @ Activity Scope Ċ @ Sub component ( modules Ġ= Ġ[ ĊĠĠĠ ĠAndroid Compat Activity Module :: class Ċ ]) Ċ interface ĠActivity Component Ġ{ ĊĠĠĠ Ġfun Ġinject Base ( target : ĠBase Activity ) ĊĊĠĠĠ Ġfun Ġinject ( target : ĠHello Activity ) Ċ } Ċ