Android Question [Solved] Amir_RecyclerView Lib: Fill the image

Discussion in 'Android Questions' started by asales, Sep 20, 2018.

  1. asales

    asales Well-Known Member Licensed User

  2. asales

    asales Well-Known Member Licensed User

    Solved!
    Code:
    Glide.LoadWith.URI("file:///android_asset/item"&(Position+1)&".jpg").Apply(Glide.RO.CenterCrop).Into(Img)
    Just remove the Apply:
    Code:
    Glide.LoadWith.URI("file:///android_asset/item"&(Position+1)&".jpg").Into(Img)
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice