package Ġge ek . com . my player Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . support . v 7 . widget . RecyclerView Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . View Ċ import Ġandroid . view . ViewGroup Ċ import Ġandroid . widget . ImageView Ċ import Ġandroid . widget . Toast Ċ import Ġcom . squareup . pic asso . Pic asso Ċ Ċ fun ĠContext . toast ( message : ĠString ){ ĊĠĠĠ ĠToast . makeText ( this , Ġmessage , ĠToast . LENGTH _ SHORT ). show () Ċ } Ċ Ċ fun ĠRecyclerView . ViewHolder . toast ( message : String )= ĠitemView . context . toast ( message ) Ċ Ċ fun ĠViewGroup . inflate ( layout Res : ĠInt ) Ġ= ĠLayoutInflater . from ( context ). inflate ( layout Res , this , false ) Ċ Ċ fun ĠImageView . load Url ( url : ĠString ) Ġ= ĠPic asso . get (). load ( url ). into ( this ) Ċ Ċ inline Ġfun < re ified ĠT : ĠView > ĠView . find ( id Res : ĠInt ): ĠT Ġ{ ĊĠĠĠ Ġreturn ĠfindViewById ( id Res ) Ġas ĠT Ċ }