package Ġandroid . th ort ech as ia . popular movie . ui . detail Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . th ort ech as ia . popular movie . R Ċ import Ġandroid . th ort ech as ia . popular movie . domain . model . Pop ular Movie Ċ import Ġandroid . th ort ech as ia . popular movie . utils . Constants Ċ import Ġandroid . th ort ech as ia . popular movie . utils . load Image Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . View Ċ import Ġandroid . view . ViewGroup Ċ import Ġandroidx . fragment . app . Fragment Ċ import Ġandroidx . lifecycle . Observer Ċ import Ġandroidx . navigation . fragment . nav Args Ċ import Ġkotlinx . android . synt hetic . main . movie _ detail .* Ċ import Ġorg . k oin . android . ext . android . inject Ċ Ċ class ĠMovie Detail Fragment : ĠFragment (){ ĊĠĠĠ Ġprivate Ġval Ġpresenter Ġ: ĠDetail Presenter Ġby Ġinject () ĊĠĠĠ Ġprivate Ġval Ġargs : ĠMovie Detail Fragment Args Ġby Ġnav Args () ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate View ( in flater : ĠLayoutInflater , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġcontainer : ĠViewGroup ?, ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠsavedInstanceState : ĠBundle ?): ĠView ? Ġ= ĊĠĠĠĠĠĠĠ Ġinflater . inflate ( R . layout . movie _ detail , Ġcontainer , Ġfalse ) ĊĊĠĠĠ Ġoverride Ġfun Ġon View Created ( view : ĠView , ĠsavedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on View Created ( view , ĠsavedInstanceState ) ĊĊĠĠĠĠĠĠĠ Ġrequire Activity (). action Bar ?. title Ġ= Ġ" Detail ĠMovie " ĊĊĠĠĠĠĠĠĠ Ġval Ġmovie Ġ= Ġargs . movie ĊĠĠĠĠĠĠĠ Ġtxt _ title . text Ġ= Ġmovie . title ĊĠĠĠĠĠĠĠ Ġimage . load Image ("${ Constants . BASE _ IMAGE _ URL }${ movie . image }") ĊĠĠĠĠĠĠĠ Ġtxt _ description . text Ġ= Ġmovie . desc ĊĠĠĠ Ġ} Ċ } Ċ