title: How to get position of button in GridView where to place it using tag?
body: <p>I want to know position, where the button located in GridView using tag, and after getting the position, get letter from that button using position. 
  Here is the code</p>
  
  <pre><code>public View getView(final int position, View convertView, ViewGroup arg2) {
  
      View v = convertView;
      if (v == null) 
      {  
           LayoutInflater vi = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
           v = vi.inflate(R.layout.buttonlist, null);
      } 
  
      final Button btn= (Button)v.findViewById(R.id.letterbtn);
      btn.setText(word[position]+"");
      btn.setOnClickListener(new OnClickListener(){
          public void onClick(View v) 
          {
              btn.setTag(btn);
              String tag=btn.getTag().toString();
  
              btn.setVisibility(View.GONE);
          }
  
      });
  
      return v; 
  }
  </code></pre>