How do I do a lazy load of images in ListView from PHP server to Android

陌路散爱 提交于 2019-12-31 03:44:32

问题


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!!!

来源:https://stackoverflow.com/questions/8517506/how-do-i-do-a-lazy-load-of-images-in-listview-from-php-server-to-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!