package Ġcom . lock wood . comp o un demo . target Ċ Ċ import Ġandroid . graphics . drawable . Drawable Ċ import Ġcom . bump tech . glide . request . target . Custom View Target Ċ import Ġcom . bump tech . glide . request . transition . Transition Ċ import Ġcom . lock wood . compound . Compound TextView Ċ Ċ class ĠG lide Compound Target ( ĊĠĠĠ Ġview : ĠCompound TextView Ċ ) Ġ: ĠCustom View Target < Compound TextView , ĠDrawable >( view ) Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġon Resource Cle ared ( placeholder : ĠDrawable ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġview . set Draw ables ( start Ġ= Ġplaceholder ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠonLoad Failed ( error Drawable : ĠDrawable ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġview . set Draw ables ( start Ġ= Ġerror Drawable ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Resource Ready ( resource : ĠDrawable , Ġtransition : ĠTransition < in ĠDrawable > ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġview . set Draw ables ( start Ġ= Ġresource ) ĊĠĠĠ Ġ} Ċ Ċ }