package Ġcom . and rew m . weather or not . ui . locations Ċ Ċ import Ġandroid . content . Context Ċ import Ġcom . and rew m . weather or not . data . local . Forecast Repo Ċ import Ġcom . and rew m . weather or not . injection . qual ifier . AppContext Ċ import Ġcom . and rew m . weather or not . ui . Base Forecast ViewModel Ċ import Ġcom . and rew m . weather or not . ui . base . Mv vm View Ċ import Ġcom . and rew m . weather or not . ui . base . navigation . Navigator Ċ import Ġcom . and rew m . weather or not . ui . details . Location Details Activity Ċ import Ġcom . and rew m . weather or not . ui . locations . recyclerview . Forecast s Mv vm Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠFore cast ViewModel Ċ @ Inject Ċ constructor (@ AppContext Ġcontext : ĠContext , Ġforecast Repo : ĠFore cast Repo , Ġprotected Ġval Ġnavigator : ĠNavigator ) Ġ: ĠBase Forecast ViewModel < Mv vm View >( context , Ġforecast Repo ), ĠFore casts Mv vm . ViewModel Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġon Forecast Selected () Ġ{ ĊĠĠĠĠĠĠĠ Ġnavigator . startActivity ( Location Details Activity :: class . java ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġput Extra ( Location Details Activity . EXTRA _ ZIP , Ġforecast . zip ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġput Extra ( Location Details Activity . EXTRA _ LAT , Ġforecast . latitude . toString ()) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġput Extra ( Location Details Activity . EXTRA _ L NG , Ġforecast . longitude . toString ()) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }