Loading IMAGE from JSON URL into listview

后端 未结 4 978
失恋的感觉
失恋的感觉 2021-01-03 15:42

I am trying to get image from URL then add it to a listview. I can successfully get the image, but I\'m struggling with adding it to the listview.

I have tried this

4条回答
  •  抹茶落季
    2021-01-03 16:13

    Try this library, does exactly what you need. https://github.com/thest1/LazyList

    To display images in a listview, you need to create a list adapter class that extends from BaseAdapter and create each view there.

提交回复
热议问题