title: CustomAdapter getView() is called every time while scrolling
body: <p>The <code>getView()</code> method in my <code>CustomAdapter</code> is called every time I scroll up or down.</p>
  
  <pre><code>@Override
  public View getView(int position, View convertView, ViewGroup parent) {
  
      View vi = convertView;
      ViewHolder holder;
      if (convertView == null) {
          vi = inflater.inflate(R.layout.projectlist, null);
  
          holder = new ViewHolder();
          holder.projectTitelTextView = (TextView) vi.findViewById(R.id.projectTitle);
          holder.projectInfoTextView = (TextView) vi.findViewById(R.id.projectInfo);
          holder.projectImageImageView = (ImageView) vi.findViewById(R.id.projectImage);
          holder.projectDeadline = (TextView) vi.findViewById(R.id.projectdeadline);
  
          vi.setTag(holder);
      } else {
          holder = (ViewHolder) vi.getTag();
      }
      if (projectItems.size() &lt;= 0) {
          [...]
      } else {
           [...]
          }
      }
      return vi;
  }
  </code></pre>
  
  <p>The <code>ListView</code> XML:</p>
  
  <pre><code>&lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools" android:id="@+id/container"
  android:layout_width="match_parent" android:layout_height="match_parent"
  tools:context=".MainActivity" tools:ignore="MergeRootFrame"&gt;
  
  &lt;LinearLayout
      android:orientation="horizontal"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      &gt;
  
      &lt;ListView android:id="@+id/android:list"
          android:layout_width="wrap_content"
          android:layout_height="fill_parent"
          android:focusable="false"
          android:clickable="false"
          android:smoothScrollbar="true" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p></p>
  
  <p>Why it is called every time I scroll up or down?
  Assuming, I have 10 Items displayed. If I scroll down, the <code>getView()</code> called one time and it show me one more Item. If I hard scroll and want to go to the end of the list. It get called multiple times until the data is loaded and displayed.</p>
  
  <p>If I want to scroll then up, the same scenario happens.</p>
  
  <p>What can I do to prevent calling multiple times <code>getView()</code> or is it necessary?</p>
  
  <p>Kind Regards</p>