Ċ Ċ package Ġcom . example . doc scan . image loading . utils Ċ Ċ import Ġandroid . graphics . Bitmap Ċ import Ġandroid . graphics . drawable . Drawable Ċ import Ġcom . squareup . pic asso . Pic asso Ċ import Ġcom . squareup . pic asso . Target Ċ import Ġcom . example . doc scan . image loading . Target Ġas ĠMy Target Ċ Ċ internal Ġclass ĠPic asso Target ( ĊĠĠĠ Ġprivate Ġval Ġtarget : ĠMy Target Ċ ): ĠTarget Ġ{ ĊĊĊĠĠĠ Ġoverride Ġfun Ġon Bitmap Loaded ( bitmap : ĠBitmap , Ġfrom : ĠPic asso . Loaded From ) Ġ{ ĊĠĠĠĠĠĠĠ Ġtarget . on Bitmap Loading Succeeded ( bitmap ) ĊĠĠĠ Ġ} ĊĊĊĠĠĠ Ġoverride Ġfun Ġon Bitmap Failed ( exception : ĠException , Ġerror Drawable : ĠDrawable ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġtarget . on Bitmap Loading Failed ( exception ) ĊĠĠĠ Ġ} ĊĊĊĠĠĠ Ġoverride Ġfun Ġon Prepare Load ( place Holder Drawable : ĠDrawable ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġtarget . on Prepare Load () ĊĠĠĠ Ġ} ĊĊ Ċ }