Code example for ImageView

Methods: getTag, setId, setOnTouchListener

0
			btnToNext.setOnTouchListener(null);
		} 
 
		btnDoRefresh.setImageDrawable(new BitmapDrawable(
			getClass().getResourceAsStream(WEBVIEW_IMAGE_BASE_PATH+"webview_bar_refresh.png")));
		btnDoRefresh.setId(BTN_DO_REFRESH);
		btnDoRefresh.setOnTouchListener((View.OnTouchListener)((ArrayList)this.btnDoRefresh.getTag()).get(0));
	} 
 
	private void shareConent() 
	{ 
		Intent intent = new Intent("android.intent.action.SEND");
		intent.setType("text/plain");
		intent.putExtra("android.intent.extra.SUBJECT", "");
		intent.putExtra("android.intent.extra.TEXT", this.adLink);
		intent.setFlags(268435456);
		startActivity(Intent.createChooser(intent, "��������"));
	}  
  
	protected void onPause() 
	{