Code example for ViewSwitcher

Methods: setDisplayedChild

				// set the bitmap in the ImageView 
				// explicitly tell the view switcher to show the second view 
 *  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 
Experience pair programming with AI  Get Codota for Java