Android Question CustomListView variable cell height

Discussion in 'Android Questions' started by hanyelmehy, May 15, 2019.

  1. hanyelmehy

    hanyelmehy Active Member Licensed User

    i use CustomListView to load multiple cards ,every card have image view and labels
    image view load its images online (i use class from this link for image download https://www.b4x.com/android/forum/t...-simple-way-to-download-images.30875/#content)
    image view width is fixed ,height well be changed according to loaded image dimension (to be in same aspect ratio)
    any idea for fast and clean code to change items height in card and in CustomListView after image loading and adjusting
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Make sure to use xCustomListView library and not the old CustomListView library. You can resize items with CLV.ResizeItem.
     
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