package Ġcom . tik nil . app . di . modules Ċ Ċ import Ġcom . tik nil . app . views . activities . MainActivity Ċ import Ġcom . tik nil . app . views . fragments . Main Fragment Ċ import Ġdagger . Module Ċ import Ġdagger . android . Contribut es Android Injector Ċ Ċ @ Module Ċ abstract Ġclass ĠViews Module Ġ{ ĊĊĠĠĠ Ġ// ĠActivity ĊĊĠĠĠ Ġ@ Contribut es Android Injector ( modules Ġ= Ġ[ ViewModels Module . Inject ViewModel :: class ]) ĊĠĠĠ Ġabstract Ġfun Ġcontribute MainActivity (): ĠMainActivity ĊĊĠĠĠ Ġ// ĠFragment ĊĊĠĠĠ Ġ@ Contribut es Android Injector ( modules Ġ= Ġ[ ViewModels Module . Inject ViewModel :: class ]) ĊĠĠĠ Ġabstract Ġfun Ġcontribute Main Fragment (): ĠMain Fragment Ċ }