android listview not scrolling smothly -


hello working on listview images seen not scrolling smothly ,please check code , give me appropriate answer.

 public view getview(int position, view convertview, viewgroup parent) {         view vi = convertview;      viewimageitem imghoder ;         if (convertview == null){             imghoder =new viewimageitem();             vi = inflater.inflate(r.layout.list_row, null);          imghoder.imgitem = (imageview) vi.findviewbyid(r.id.list_image);           vi.settag(imghoder);     } else {         imghoder =  (viewimageitem) vi.gettag();     }         //imghoder.imgitem.setimageresource(mthumbids[position]);         imghoder.imgitem.setimageresource(mthumbids[position]);           return vi;     }        private static class viewimageitem {          imageview imgitem;   } 

please check full code


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -