Code example for ViewSwitcher

Methods: setDisplayedChild

0
				 
				// set the bitmap in the ImageView 
				aImageView.setImageBitmap(aBitmap);
				 
				// explicitly tell the view switcher to show the second view 
				aViewSwitcher.setDisplayedChild(IMAGEVIEWINDEX);
			} 
		}); 
 
	} 
 
 
} 
 
/** 
 *  View holder pattern as described in google sample code 
 *  we may want to add more attributes to this if the path was 
 *  say being stored in a sqlite database 
 * @author bacaj 
 */ 
class ViewTagInformation {