title: GridView first item not working
body: <p>i have a GridView of button, i need to change background and clickable on some button, it works well for all but not the first one :</p>
  
  <pre><code>public View getView(int position, View convertView, ViewGroup parent ) {
          Button btn;
  
          if (convertView == null) {
  
              btn = new Button(mContext);
  
              btn.setLayoutParams(new GridView.LayoutParams(44,44));
              btn.setPadding(0,0,0,0);
              }
          else {
              btn = (Button) convertView;
          }
  
  
  
      btn.setId(position);
      bottoni[position] = btn;  
      //abilito o disabilito caselle
      if (mossa == 1){
              btn.setBackgroundColor(Color.parseColor("#C85A17"));
              btn.setClickable(true);
      }
      else {  
      if (statobtn[position] == "A") {
          btn.setBackground(getResources().getDrawable(R.drawable.semi));
          btn.setClickable(true); }
      if (testobtn[position] != "") {
          btn.setBackground(getResources().getDrawable(R.drawable.fiorebianco));
          btn.setClickable(false);    }
      }
  
  
      btn.setOnClickListener(new MyOnClickListener(position,btn));  
  
  
       return btn; 
      }
  </code></pre>
  
  <p>any idea?</p>
  
  <p>i start with 100 button eneabled afer first i need to enable only some buttons related to the button clicked, but the first button is always enebled...</p>