How do I do a lazy load of images in ListView from

2020-04-18 06:49发布

问题:

I am new to android & exploring it.I need to load image of User dynamically in my list shown below

list of Users!

I use one static image to show as user image from my resource folder. this list is dynamic & get change as my location get change but only when i refresh it.

AddObjectToList(jFan_Data.getString("uniqid").toString(),R.drawable.ic_add, jFan_Data.getString("name"), jFan_Data.getString("distance"));

on click of the list item need to display the complete profile of user. i succeed to show complete profile on click i need to show image of user here as well

user_profile!

How i get the data from php(Please gone through) -> android List View having jsonObject

now how i get images of users from my php server... would greatly appreciate any sample code,scripts, and pointers to where I could find more information to better understand the inner working. Also, pretty much interested to know how i use other framework or is there are better frameworks to do what I want to, I am happy to learn about that!!!