package Ġsun . mer cy . mv ps uns . demo . di . module Ċ Ċ import Ġcom . mer cy . sun s . di . component . Base Activity Component Ċ import Ġcom . mer cy . sun s . di . scope . Activity Scope Ċ import Ġdagger . Module Ċ import Ġdagger . android . Contribut es Android Injector Ċ import Ġsun . mer cy . mv ps uns . demo . mvp . ui . activity . Login Activity Ċ import Ġsun . mer cy . mv ps uns . demo . mvp . ui . activity . MainActivity Ċ import Ġsun . mer cy . mv ps uns . demo . mvp . ui . activity . User Activity ĊĊ Ċ /** Ċ Ġ* Ġ@ author Ġsun Ċ Ġ* Ġ@ date Ġ 2 0 1 8 / 1 / 3 1 Ċ Ġ* ĠActiv ities Module App Ċ Ġ*/ Ċ @ Module ( sub components Ġ= ĠarrayOf ( Base Activity Component :: class )) Ċ abstract Ġclass ĠActiv ities Module App Ġ{ ĊĠĠĠ Ġ@ Activity Scope ĊĠĠĠ Ġ@ Contribut es Android Injector ( modules Ġ= ĠarrayOf ( User Activity Module :: class )) ĊĠĠĠ Ġabstract Ġfun Ġcontribute User Activity (): ĠUser Activity ĊĊĠĠĠ Ġ@ Activity Scope ĊĠĠĠ Ġ@ Contribut es Android Injector ( modules Ġ= ĠarrayOf ( Account Module :: class )) ĊĠĠĠ Ġabstract Ġfun Ġcontribute Login Activity (): ĠLogin Activity ĊĊĊĠĠĠ Ġ@ Activity Scope ĊĠĠĠ Ġ@ Contribut es Android Injector ( modules Ġ= ĠarrayOf ( Account Module :: class )) ĊĠĠĠ Ġabstract Ġfun Ġcontribute MainActivity (): ĠMainActivity Ċ Ċ }