package Ġcom . hello has an . weather app mv v md agger . di Ċ Ċ import Ġandroid . app . Application Ċ import Ġcom . hello has an . weather app mv v md agger . common . App Ċ import Ġcom . hello has an . weather app mv v md agger . features . weather _ info _ show . view model . Weather Info ViewModel Ċ Ċ import Ġdagger . Bind s Instance Ċ import Ġdagger . Component Ċ Ċ import Ġdagger . android . Android Injector Ċ import Ġdagger . android . support . Android Support Injection Module Ċ import Ġjavax . inject . Singleton Ċ Ċ @ Singleton Ċ @ Component ( ĊĠĠĠ Ġmodules Ġ= Ġ[ ĊĠĠĠĠĠĠĠ ĠAndroid Support Injection Module :: class , ĊĠĠĠĠĠĠĠ ĠApp Module :: class ] Ċ ) Ċ interface ĠApplication Component Ġ: ĠAndroid Injector < App > Ġ{ ĊĊĠĠĠ Ġfun Ġinject ( weather Info ViewModel : ĠWeather Info ViewModel ) ĊĊĠĠĠ Ġ@ Component . Builder ĊĠĠĠ Ġinterface ĠBuilder Ġ{ ĊĊĠĠĠĠĠĠĠ Ġ@ Bind s Instance ĊĠĠĠĠĠĠĠ Ġfun Ġapplication ( application : ĠApplication ): ĠBuilder ĊĊĠĠĠĠĠĠĠ Ġfun Ġbuild (): ĠApplication Component ĊĠĠĠ Ġ} Ċ }