package Ġcom . ben li . kotlin weather . main . weather . ui Ċ Ċ import Ġandroid . databinding . Data Binding Util Ċ import Ġandroid . os . Bundle Ċ import Ġcom . ben li . c mm . base . C MA ct ivity Ċ import Ġcom . ben li . kotlin weather . R Ċ import Ġcom . ben li . kotlin weather . databinding . Activity Weather Binding Ċ import Ġcom . ben li . kotlin weather . glob el . App Ċ import Ġcom . ben li . kotlin weather . main . weather . view model . Weather ViewModel Ċ import Ġkotlinx . android . synt hetic . main . activity _ weather .* Ċ Ċ class ĠWeather Activity Ġ: ĠC MA ct ivity () Ġ{ ĊĠĠĠ Ġlateinit Ġvar Ġweather Bind : ĠActivity Weather Binding ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ Ġweather Bind Ġ= ĠData Binding Util . set ContentView ( this , ĠR . layout . activity _ weather ) ĊĠĠĠĠĠĠĠ Ġweather Bind . content Weather . tv Icon . type face Ġ= ĠApp . icon Type Face ĊĠĠĠĠĠĠĠ Ġweather Bind . content Weather . tv Temperature . type face Ġ= ĠApp . icon Type Face ĊĠĠĠĠĠĠĠ Ġweather Bind . weather VM Ġ= ĠWeather ViewModel ( this ) ĊĠĠĠĠĠĠĠ Ġtoolbar . title Ġ= ĠgetString ( R . string . title _ activity _ weather ) ĊĠĠĠ Ġ} Ċ } Ċ