package Ġ<%= Ġapp Package Ġ% >. di . components Ċ Ċ import Ġdagger . Component ; Ċ import Ġ<%= Ġapp Package Ġ% >. di . Activity Scope ; Ċ import Ġ<%= Ġapp Package Ġ% >. di . modules .< %= Ġactivity Name Ġ%> Module ; Ċ import Ġ<%= Ġapp Package Ġ% >. ui .< %= Ġactivity PackageName Ġ% >. <%= Ġactivity Name Ġ%> Activity ; Ċ Ċ // Ġandroid - hip ster - needle - component - injection - import Ċ Ċ @ Activity Scope Ċ @ Component ( dependencies Ġ= ĠarrayOf ( Application Component :: class ), Ġmodules Ġ= ĠarrayOf (< %= Ġactivity Name Ġ%> Module :: class )) Ċ interface Ġ<%= Ġactivity Name Ġ%> Component Ġ{ ĊĊĠĠĠ Ġfun Ġinject ( activity : Ġ<%= Ġactivity Name Ġ%> Activity ) ĊĊĠĠĠ Ġ// Ġandroid - hip ster - needle - component - injection - method Ċ Ċ } Ċ