package Ġio . dot an uki . demos . weather . ui . navigation Ċ Ċ import Ġandroid . content . Intent Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ import Ġio . dot an uki . demos . weather . ui . details . Weather Details Activity Ċ Ċ class ĠWeather Navigator ( private Ġval Ġhost : ĠAppCompatActivity ) Ġ{ ĊĊĠĠĠ Ġfun Ġto Details ( content : ĠString ) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġintent Ġ= ĠIntent ( host , ĠWeather Details Activity :: class . java ) ĊĠĠĠĠĠĠĠ Ġintent . putExtra (" extras ", ĠWeather Details Extras ( content , Ġ" https :// pic sum . photos / 6 4 0 / 4 8 0 ")) ĊĠĠĠĠĠĠĠ Ġhost . startActivity ( intent ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġunwrap ( bundle : ĠBundle ): ĠWeather Details Extras Ġ= Ġrequire NotNull ( bundle . get Parcelable (" extras ")) Ċ } Ċ