package Ġcom . fal ten re ich . skeleton layout . demo . view group Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . View Ċ import Ġcom . fal ten re ich . skeleton layout . Skeleton Ċ import Ġcom . fal ten re ich . skeleton layout . demo . R Ċ import Ġcom . fal ten re ich . skeleton layout . demo . Main Pager Fragment Ċ import Ġcom . fal ten re ich . skeleton layout . demo . recyclerview . RecyclerView ListItem Ċ import Ġkotlinx . android . synt hetic . main . fragment _ view group .* Ċ import Ġkotlinx . android . synt hetic . main . list _ item .* Ċ Ċ class ĠViewGroup Fragment Ġ: ĠMain Pager Fragment ( R . layout . fragment _ view group , Ġ" ViewGroup ") Ġ{ ĊĊĠĠĠ Ġoverride Ġlateinit Ġvar Ġskeleton : ĠS keleton ĊĊĠĠĠ Ġoverride Ġfun Ġon View Created ( view : ĠView , ĠsavedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on View Created ( view , ĠsavedInstanceState ) ĊĊĠĠĠĠĠĠĠ Ġval Ġitem Ġ= ĠRecyclerView ListItem . DEMO . first () ĊĠĠĠĠĠĠĠ Ġwall paper View . setImage Resource ( item . wall paper Res Id ) ĊĠĠĠĠĠĠĠ Ġavatar View . setImage Resource ( item . avatar Res Id ) ĊĠĠĠĠĠĠĠ Ġtitle View . setText ( item . title Res Id ) ĊĠĠĠĠĠĠĠ Ġdescription View . setText ( item . description Res Id ) ĊĊĠĠĠĠĠĠĠ Ġskeleton Ġ= Ġskeleton Layout ĊĠĠĠĠĠĠĠ Ġskeleton Layout . show Skeleton () ĊĠĠĠ Ġ} Ċ }