package Ġapp . me lon . gallery . photos Ċ Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . View Ċ import Ġandroid . view . ViewGroup Ċ import Ġapp . me lon . gallery . R Ċ import Ġco il . load Ċ import Ġcom . github . chr is ban es . photo view . Photo View ĊĊ Ċ internal Ġclass ĠGallery Item View ( layout Inflater : ĠLayoutInflater , Ġcontainer : ĠViewGroup ?) Ġ{ ĊĊĠĠĠ Ġval Ġview : ĠView Ġ= Ġlayout Inflater . inflate ( R . layout . item _ gallery , Ġcontainer , Ġfalse ) ĊĊĠĠĠ Ġprivate Ġval Ġphoto View : ĠPhoto View Ġ= Ġview . findViewById ( R . id . image ) ĊĊĠĠĠĠ Ġval Ġis Scaled : ĠBoolean ĊĠĠĠĠĠĠĠ Ġget () Ġ= Ġphoto View . scale Ġ> Ġ 1 f ĊĊĠĠĠ Ġfun Ġbind ( url : ĠString ) Ġ{ ĊĠĠĠĠĠĠĠ Ġphoto View . load ( url ) ĊĠĠĠ Ġ} Ċ }