Android Question xCustomlistview lazy loading + download images

Discussion in 'Android Questions' started by yiankos1, Apr 12, 2019.

  1. yiankos1

    yiankos1 Active Member Licensed User

    Hello my friends,
    I use this xCustomlistview with lazy loading in order to make a dates app using timeline. I would like to know if is it possible to achieve image download and add them to a specific item when CLV1_VisibleRangeChanged sub called. I need this, in order to show user's profile image at dates timeline.

    p.s. i need a b4x solution thats why picasso lib does not fit here
     
  2. Erel

    Erel Administrator Staff Member Licensed User

  3. yiankos1

    yiankos1 Active Member Licensed User

    Firstly i would like to thank you for that quick answer. I have a question about don't using lazy loading. It is a timeline, so i don't know the exact amount of posts that a user will see. If i create all of them and just add them at xCLV, most likely throw an OOM error and listview will not be smooth.
    What is your opinion about this?

    OR

    do you just mean, don't use lazy loading for downloading images? If you mean this, do you think there is a mess about lazy loading and downloading images with a service?
     
  4. Erel

    Erel Administrator Staff Member Licensed User

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