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

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -