package Ġcom . me . presentation . weather . model Ċ Ċ import Ġandroidx . databinding . Observable Field Ċ import Ġcom . me . domain . weather . entity . Weather Entity Ċ import Ġjava . util .* Ċ Ċ data Ġclass ĠWeather Model ( ĊĠĠĠ Ġval Ġname : ĠObservable Field < String > Ġ= ĠObservable Field (""), ĊĠĠĠ Ġval Ġcountry : ĠObservable Field < String > Ġ= ĠObservable Field (""), ĊĠĠĠ Ġval Ġdescription : ĠObservable Field < String > Ġ= ĠObservable Field (""), ĊĠĠĠ Ġval Ġtemp : ĠObservable Field < Double > Ġ= ĠObservable Field ( 0 . 0 ), ĊĠĠĠ Ġval Ġdt : ĠObservable Field < String > Ġ= ĠObservable Field (""), ĊĠĠĠ Ġval Ġdate Created : ĠObservable Field < Long > Ġ= ĠObservable Field ( Date (). time ) Ċ ) ĊĊ Ċ fun ĠWeather Entity . map To Presentation (): ĠWeather Model Ġ= ĊĠĠĠ ĠWeather Model ( ĊĠĠĠĠĠĠĠ ĠObservable Field ( name ), ĊĠĠĠĠĠĠĠ ĠObservable Field ( country ), ĊĠĠĠĠĠĠĠ ĠObservable Field ( description ), ĊĠĠĠĠĠĠĠ ĠObservable Field ( temp ), ĊĠĠĠĠĠĠĠ ĠObservable Field ( dt ), ĊĠĠĠĠĠĠĠ ĠObservable Field ( date Created ) ĊĠĠĠ Ġ) Ċ Ċ fun ĠList < Weather Entity >. map To Presentation (): ĠList < Weather Model > Ġ= Ġmap Ġ{ Ġit . map To Presentation () Ġ} Ċ