Code example for ImageSwitcher

Methods: setImageURI

0
		String photoURL = ImageList.get(position);
		Log.i("A", String.valueOf(position));
		/** 
		 * 设置当前要显示的Image的路径	  
		 */ 
		mSwitcher.setImageURI(Uri.parse(photoURL));
		 
	} 
 
	@Override 
	public void onNothingSelected(AdapterView<?> parent) {
		// TODO Auto-generated method stub 
 
	} 
 
	@Override 
	public View makeView() {
 
		ImageView i = new ImageView(this);
 
		i.setBackgroundColor(0xFF000000);