title: How to use setTag and getTag with custom adapter
body: <p>I get stucked and I need help. I'm trying to use set and get Tag but i can't get how it works for this action:</p>
  
  <ul>
  <li>I'm using list view to show images loaded to extended adapter</li>
  <li>The custom Adapter inflate a layout with imageview_1, textview_1 and button_1</li>
  <li>On my principal activity, I have a "Public Void OnClickHandler" for button_1 and was configurated on layout with "android:onClick", so when button is clicked it do something</li>
  <li>When button_1 is clicked, I want to get the text from textview_1 from that specific view and then load a different image.
  I want to to this using get and set TAGS, so I need to do the reference with button_1 and imageview_1. here my snipped code. Thank you in advance</li>
  </ul>
  
  <p>The custom Adapter</p>
  
  <pre><code>@Override
  public View getView(int position, View convertView, ViewGroup parent) {
      ViewHolder holder = null;
  
      LayoutInflater mInflater = (LayoutInflater) 
          context.getSystemService(Activity.LAYOUT_INFLATER_SERVICE);
  
      if (convertView == null) {
          convertView = mInflater.inflate(R.layout.itemstartsession, null);
          holder = new ViewHolder();
  
          holder.image = (WebView)convertView.findViewById(R.id.img_session);
          //holder.image.setTag(position);
  
          holder.code = (TextView)convertView.findViewById(R.id.code_item_session_text);
          //holder.code.setTag(position);
  
  
          holder.share=(ImageButton)convertView.findViewById(R.id.share_item_session_button);
          holder.share.setTag(position);
  
          convertView.setTag(holder);
      // Check if my setTag is ok for button and get the reference to get 
          //text from textview and the referece to webview, then I gonna load a url
      } else {
  
          holder=(ViewHolder)convertView.getTag();
      }
  
      StoreDataForBA storeItem= (StoreDataForBA) getItem(position);
      holder.image.loadUrl(storeItem.getImage());
  
          holder.code.setText(storeItem.getCode());
  
  return convertView;
  }
  </code></pre>
  
  <p>This is my getter and setter for data, very easy</p>
  
  <pre><code>public StoreDataForBA( String image, String code) {
  
      this.setImage(image);
      this.setCode(code);
  
  }
  
  public String getImage() {
      return image;
  }
  
  public void setImage(String image) {
      this.image = image;
  }
  
  
  public String getCode() {
      return code;
  }
  
  public void setCode(String code) {
      this.code = code;
  }
  </code></pre>
  
  <p>My principal Activity snipped</p>
  
  <pre><code>public void shareOnClickHandler(View v) {
  // plz here i need the code to get the text from textview and also get the 
  // reference of the webview, so i can do something like
  // StoreDataForBA data = (StoreDataForBA)v.getTag();
  // image2.loadUrl("http://image2")..... I'm not sure, thank you
  }
  </code></pre>