title: Listview BaseAdapter class getview is being called multiple times for same position
body: <p>actually my problem is same as <a href="https://stackoverflow.com/questions/11186004/yet-another-getview-called-multiple-times">this</a> guy's.But I don't know how to resolve it.Here's my listview xml file.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:background="#FFFFFF"&gt;
  
  &lt;LinearLayout     android:orientation="horizontal"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:weightSum="3"
                    android:background="#CCCCCC"
                    android:id="@+id/tabs"&gt;
  
      &lt;Button 
             android:layout_width="fill_parent"
             android:layout_height="wrap_content"
             android:layout_weight="1"
             android:background="#CCCCCC"
             android:textSize="20sp"
             android:textColor="#000000"
             android:text="@string/NewTask"
             android:id="@+id/tab1"
          /&gt;
  
      &lt;Button 
             android:layout_width="fill_parent"
             android:layout_height="wrap_content"
             android:background="#CCCCCC"
             android:layout_weight="1"
             android:textSize="20sp"
             android:textColor="#000000"
             android:text="@string/Friends"
             android:id="@+id/tab2"
          /&gt;
      &lt;Button 
             android:layout_width="fill_parent"
             android:background="#CCCCCC"
             android:layout_height="wrap_content"
             android:textColor="#000000"
             android:layout_weight="1"
             android:text="@string/AddPeople"
             android:textSize="20sp"
             android:id="@+id/tab3"
          /&gt;
      &lt;/LinearLayout&gt;
  
  &lt;ListView
      android:id="@android:id/list"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:cacheColorHint="#000000"
      android:layout_below="@+id/tabs"
  /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>I am trying to call a function in my listactivity from the <code>onpostExecute</code> of my <code>AsyncTask class</code>.
  Here's the function of my listactivity.</p>
  
  <pre><code>public void SetImage(Bitmap bmp,int index)
  {
      View v = this.ls.getChildAt(index);
      ImageView img = (ImageView)v.findViewById(R.id.tasks_userimg);
      img.setImageBitmap(bmp);
  }
  </code></pre>
  
  <p>This bmp is the bitmap downloaded in the <code>asynctask</code> class and <code>ls</code> is the listview and the <code>index</code> is the index of the item in the listview.When the postexecute runs I call this function with the arguments to update the listview item image.</p>
  
  <p>The problem is exactly same  as I've mentioned in the link i.e when I scroll it gives me error.But he solved the problem by changing the layout width of listview but it is not working here.</p>