package Ġcom . and rew m . weather or not . ui Ċ Ċ import Ġcom . and rew m . weather or not . data . model . forecast . Forecast Ċ import Ġcom . and rew m . weather or not . ui . base . Mv vm View Ċ import Ġcom . and rew m . weather or not . ui . base . Mv vm ViewModel Ċ Ċ /** Ċ Ġ* ĠAn Ġinterface Ġto Ġdescribe Ġcommon Ġthings Ġthat Ġall Ġforecast - centric Ġview Ġmodels Ġshould Ġconform Ġto Ċ Ġ*/ Ċ interface ĠIF ore cast ViewModel Ġ< V Ġ: ĠM v vm View > Ġ: ĠM v vm ViewModel < V > Ġ{ ĊĠĠĠ Ġfun Ġupdate ( forecast : ĠFore cast ) ĊĠĠĠ Ġval Ġforecast : ĠFore cast ? ĊĠĠĠ Ġval Ġtemperature : ĠString ? Ċ } Ċ