package Ġcom . h ony um . elev ator Man . fragment . cont art Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . support . v 4 . app . Fragment Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . View Ċ import Ġandroid . view . ViewGroup Ċ import Ġandroid . widget . ListView Ċ import Ġcom . h ony um . elev ator Man . R Ċ import Ġcom . h ony um . elev ator Man . adapter . Contract Payment ListAdapter Ċ import Ġcom . h ony um . elev ator Man . net . Contract Info Detail Response Ċ import Ġorg . jetbrains . ank o . find Ċ Ċ class ĠCont art Payment Fragment Ġ: ĠFragment () Ġ{ ĊĊĠĠĠ Ġvar Ġresponse : ĠContract Info Detail Response Ġ= ĠContract Info Detail Response () ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate View ( in flater : ĠLayoutInflater ?, Ġcontainer : ĠViewGroup ?, ĠsavedInstanceState : ĠBundle ?): ĠView Ġ{ ĊĊĠĠĠĠĠĠĠ Ġvar Ġbundle : Bundle Ġ= Ġarguments ĊĊĠĠĠĠĠĠĠ Ġresponse Ġ= Ġbundle . get Serializable (" response ") Ġas ĠContract Info Detail Response ĊĊĠĠĠĠĠĠĠ Ġvar Ġview : View Ġ= Ġinflater !!. inflate ( R . layout . cont art _ payment _ fragment , null ) ĊĊĠĠĠĠĠĠĠ Ġinit View ( view ) ĊĊĠĠĠĠĠĠĠ Ġreturn Ġview ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġinit View ( view : View ){ ĊĠĠĠĠĠĠĠ Ġview . find < ListView >( R . id . lv _ list _ payment ). adapter Ġ= ĠContract Payment ListAdapter ( response . body . list Contract Payment , activity ) ĊĠĠĠ Ġ} Ċ } Ċ