title: Java android baseAdapter set list item one time
body: <p>Hello i have a fully working code for my list adapter:</p>
  
  <pre><code>public View getView(int position, View convertView, ViewGroup parent) {
      View vi=convertView;
      if(convertView==null)
          vi = inflater.inflate(R.layout.overview_item, null);
  
      //getting id's
      TextView name =(TextView)vi.findViewById(R.id.userUsername);
      TextView date =(TextView)vi.findViewById(R.id.imageDate);
  
      ImageView image=(ImageView)vi.findViewById(R.id.userImage);
      ImageView avatar=(ImageView)vi.findViewById(R.id.userAvatar);
  
      //setting text
      name.setText(dataNames.get(position));
      date.setText(dataDates.get(position));
      //set image
      Log.d("test: ", "Adapter wants to get picture");
      imageLoader.DisplayImage(dataImage.get(position), image);
      imageLoader.DisplayImage(dataAvatars.get(position), avatar);
      return vi;
  }
  </code></pre>
  
  <p>This code works perfect but the problem is this function runs everytime when you scroll throught the listview so whenever the lis item is getting in sight. And that's not what i want. i want it to do this function just once for every list item. This is because when your scrolling fast trought the list it has to load all images again so the loading image is showing and it keeps jumping because the loading image is another size then the image wich is getting loaded. I hope thay tou understand my question and can help me. Already thanks and if i'm not clear please ask my anything in the comments.</p>
  
  <p>So short:
  How do i run this code just once for every list-item and not everytime when it's getting in sight?</p>