PDA

View Full Version : getview called when scrolling Listview in Android



chuchi
November 1st, 2013, 08:22 AM
Hi everyone!


I am having problems when scrolling a ListView in Android. Each item in the ListView shows an image downloaded from internet.


Whenever I scroll the ListView, it calls the method “getView(int position, View convertView, ViewGroup parent)”, causing the image to be downloaded again.


How can I prevent this?? I mean, to call getView only once.


Thank you very much!