package Ġcom . long le . sof user . presentation . image detail Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . databinding . Data Binding Util Ċ import Ġcom . long le . sof user . R Ċ import Ġcom . long le . sof user . presentation . Base Activity Ċ import Ġcom . long le . sof user . databinding . Activity Image Detail Binding Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠImage Detail Activity : ĠBase Activity () Ġ{ ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġconst Ġval ĠEX TRA _ URL Ġ= Ġ" URL " ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Inject Ġlateinit Ġvar ĠviewModel : ĠImage Detail ViewModel ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĊĠĠĠĠĠĠĠ Ġscreen Component . inject ( this ) ĊĊĠĠĠĠĠĠĠ Ġval Ġbinding : ĠActivity Image Detail Binding Ġ= ĠData Binding Util . set ContentView ( this , ĠR . layout . activity _ image _ detail ) ĊĠĠĠĠĠĠĠ Ġbinding . viewModel Ġ= ĠviewModel ĊĊĠĠĠĠĠĠĠ ĠviewModel . bound ( intent . extras . getString ( EXTRA _ URL , Ġ"")) ĊĠĠĠ Ġ} Ċ } Ċ