title: Android Baseadapter fixed blankfields
body: <p>I have got a problem with my BaseAdapter. I am using a Gridview to show my content. And i need to add some blankfield. 
  But if i scroll up and down the blankfields move randomly.</p>
  
  <p>My Question is: How can i make them stay at the right position?</p>
  
  <pre><code>public class GridviewAdapter extends BaseAdapter {
  private ArrayList&lt;String&gt; sign;
  private ArrayList&lt;String&gt; roman;
  private ArrayList&lt;String&gt; check;
  private Activity activity;
  private int minusValue=0;
  private boolean fulllist;
  
  
  public GridviewAdapter(Activity activity, ArrayList&lt;String&gt; sign,ArrayList&lt;String&gt; roman,ArrayList&lt;String&gt; check,boolean fulllist) {
      super();
      this.activity=activity;
      this.sign=sign;
      this.roman=roman;
      this.check=check;
      this.fulllist=fulllist;
  }
  @Override
  public int getCount() {
      if(fulllist)
      {
          return sign.size()+5;
      }
      else
      {
          return sign.size();
      }
  }
  public void updateList(ArrayList&lt;String&gt; newcheck) {
      check.clear();
      check.addAll(newcheck);
      this.notifyDataSetChanged();
  }
  @Override
  public Object getItem(int position) {
  return sign.get(position);
  }
  @Override
  public long getItemId(int position) {
  return position;
  }
  public static class ViewHolder
  {
      public TextView signv;
      public TextView romanv;
      public TextView checkv;
  }
  @Override
  public View getView(int position, View convertView, ViewGroup parent) {
      ViewHolder view= new ViewHolder();  
      LayoutInflater inflator = activity.getLayoutInflater();
        if (convertView == null) {  
            view = new ViewHolder();
              convertView = inflator.inflate(R.layout.gridblock, null);
             view.signv = (TextView) convertView.findViewById(R.id.sign);
              view.checkv = (TextView) convertView.findViewById(R.id.check);
              view.romanv = (TextView) convertView.findViewById(R.id.roman);
  
              convertView.setTag(view);
          } else {
              view = (ViewHolder) convertView.getTag();
          }
        if(position==36) {
             convertView.setVisibility(View.GONE);
             convertView.setClickable(false);
             convertView.setEnabled(false);
             minusValue=minusValue-1;
          }
        else if(position==38) {
             convertView.setVisibility(View.GONE);
             convertView.setClickable(false);
             convertView.setEnabled(false);
             minusValue=minusValue-1;
          }
        else if(position==46) {
             convertView.setVisibility(View.GONE);
             convertView.setClickable(false);
             convertView.setEnabled(false);
             minusValue=minusValue-1;
          }
        else if(position==47) {
            convertView.setVisibility(View.GONE);
            convertView.setClickable(false);
            convertView.setEnabled(false);
            minusValue=minusValue-1;
        }
        else  if(position==48) {
            convertView.setVisibility(View.GONE);
            convertView.setClickable(false);
            convertView.setEnabled(false);
            minusValue=minusValue-1;
        }
        else
        {
            view.signv.setText(sign.get(0));
            view.checkv.setText(check.get(0));
            if( view.checkv.getText().equals("✘"))
            {
                view.checkv.setTextColor(Color.RED);
            }
            else
            {
                view.checkv.setTextColor(Color.GREEN);
            }
            view.romanv.setText(roman.get(0));
        }
  
          return convertView;
  }
  </code></pre>