package Ġcom . bal oc co . android components . feature . detail . di Ċ Ċ import Ġandroid . app . Activity Ċ import Ġcom . bal oc co . android components . di . Activity Scope Ċ import Ġcom . bal oc co . android components . feature . detail . ui . Detail Activity Ċ import Ġdagger . Bind s Instance Ċ import Ġdagger . Sub component Ċ Ċ @ Activity Scope Ċ @ Sub component ( ĊĠĠĠ Ġmodules Ġ= Ġ[ Detail ViewModel Module :: class ] Ċ ) Ċ interface ĠDetail Component Ġ{ ĊĊĠĠĠ Ġ@ Sub component . Factory ĊĠĠĠ Ġinterface ĠFactory Ġ{ ĊĠĠĠĠĠĠĠ Ġfun Ġcreate ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Bind s Instance Ġactivity : ĠActivity ĊĠĠĠĠĠĠĠ Ġ): ĠDetail Component ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġinject ( activity : ĠDetail Activity ) Ċ }