getview called when scrolling Listview in Android

jessPHP

Member
Oct 20, 2013
6
0
0
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!