bitmap - Downloading images using AsyncTask in android -
i stuck @ 1 point. need suggestions same. creating application involves json parsing. after parsing getting data involves event name, event description, event place, event image url , on. data huge. can imagine facebook kinda stuff.
now problem data getting parsed because event image in form of url, need convert bitmap. have kept process of json parsing , bitmap conversion 1 asynctask(doinbackground()).
this taking lot amount of time. want facebook data gets loaded , shown end user images load , steadily. (i mean when scroll facebook, images don't come immediately).
i want similar functionality. need suggestions.
you can still use asynctask, you'll need use 2 seperate tasks. 1 loading , parsing of json, , 1 loading of image.
after parsing json, you'll need start asynctask every image you're trying load, making them load on own thread. show once item done loading.
Comments
Post a Comment