package Ġcom . github . lib li boom . t mdb . common . utils Ċ Ċ import Ġandroid . app . Application Ċ import Ġandroid . graphics . Bitmap Ċ import Ġandroid . widget . ImageView Ċ import Ġcom . bump tech . glide . G lide Ċ import Ġcom . bump tech . glide . load . Transformation Ċ import Ġcom . bump tech . glide . load . resource . bitmap . Fit Center Ċ import Ġcom . bump tech . glide . load . resource . bitmap . Rounded C orners Ċ import Ġcom . github . lib li boom . t mdb . Build Config Ċ import Ġcom . github . lib li boom . t mdb . app . App Initializer Ċ Ċ object ĠApp G lide Utils Ġ: ĠApp Initializer Ġ{ ĊĊĠ Ġprivate Ġlateinit Ġvar Ġapplication : ĠApplication ĊĊĠ Ġoverride Ġfun Ġinitialize ( application : ĠApplication ) Ġ{ ĊĠĠĠ ĠApp G lide Utils . application Ġ= Ġapplication ĊĠ Ġ} ĊĊĠ Ġfun Ġload Post er ( ĊĠĠĠ Ġposter Path : ĠString , ĊĠĠĠ Ġbookmark Movie Post er : ĠImageView , ĊĠĠĠ Ġvar arg Ġtransformations : ĠTransformation < Bitmap > Ġ= ĠarrayOf ( Fit Center ()) ĊĠ Ġ) Ġ{ ĊĠĠĠ ĠG lide . with ( application ) ĊĠĠĠĠĠ Ġ. load ("${ Build Config . CONFIG _ URL }$ poster Path ") ĊĠĠĠĠĠ Ġ. transform (* transform ations , ĠRo unded C orners ( 1 5 )) ĊĠĠĠĠĠ Ġ. into ( bookmark Movie Post er ) ĊĠ Ġ} Ċ } Ċ