android - Not able to load images in Listview using Lrucache -
android - Not able to load images in Listview using Lrucache -
am using 1 image view , 2 textview in listview , loading images web-services , when scroll listview images shuffle used lrucache. getting error when using bitmap bitmap = mmemorycache.get(hmlist.get("studentphoto"))
, getting error log
06-20 15:54:01.995: e/androidruntime(6795): fatal exception: main 06-20 15:54:01.995: e/androidruntime(6795): java.lang.nullpointerexception 06-20 15:54:01.995: e/androidruntime(6795): @ **x.y.z.adapters.a_adapter.getview(a_adapter.java:165)** 06-20 15:54:01.995: e/androidruntime(6795): @ android.widget.abslistview.obtainview(abslistview.java:2207) 06-20 15:54:01.995: e/androidruntime(6795): @ android.widget.listview.measureheightofchildren(listview.java:1250)
reference taking [http://stackoverflow.com/questions/20762817/listview-images-shuffle-while-scrolling]
android listview android-listview bitmap
Comments
Post a Comment