package Ġcom . indo . news . utils . extension Ċ Ċ import Ġandroidx . annotation . NonNull Ċ import Ġandroidx . appcompat . widget . AppCompat ImageView Ċ import Ġandroidx . databinding . Binding Adapter Ċ import Ġcom . bump tech . glide . G lide Ċ import Ġcom . bump tech . glide . load . resource . drawable . Drawable Transition Options Ċ import Ġcom . bump tech . glide . request . RequestOptions Ċ Ċ @ Binding Adapter (" app : imageUrl ") Ċ fun Ġset News Image ( view : ĠAppCompat ImageView , Ġ@ NonNull ĠimageUrl : ĠString ?) Ġ{ ĊĠĠĠ Ġval Ġrequest Options Ġ= ĠRequest Options (). center Crop () ĊĠĠĠ ĠG lide . with ( view . context ) ĊĠĠĠĠĠĠĠ Ġ. load ( imageUrl ) ĊĠĠĠĠĠĠĠ Ġ. transition ( Drawable Transition Options . with Cross Fade ()) ĊĠĠĠĠĠĠĠ Ġ. apply ( request Options ) ĊĠĠĠĠĠĠĠ Ġ. into ( view ) Ċ }