android - Lazy Loading (Image + Text) for Linear Layouts -
i trying implement activity shown in image(wireframe) uploaded(). there n number of such items.(lazy loading expected implemented.) images imagebuttons , qty(quantity) spinners. item name, item price , item images fetched server.
i expect different implementation when click on item image , when click on qunatity spinner. not possible when implement using listview + adapter. (i have followed http://wptrafficanalyzer.in/blog/android-lazy-loading-images-and-text-in-listview-from-http-json-data/)
i expect images loaded in different thread.
could please give me direction on how go this? have read enough implementations using listview + adapters. none of them solve problem
lars has great tutorial on listviews
, using custom adapters populate them here. section titled "listviews , performance" should helpful.
for lazy loading, check out universal image loader. have initialize image loader in application class , call imageloader.getinstance()
anywhere need use it. using .displayimage()
takes image uri , imageview
. threading , bitmap decoding done library. makes absurdly easy , has tons of features.
Comments
Post a Comment