Code example for ActionBarActivity

Methods: onOptionsItemSelected

0
	public boolean onOptionsItemSelected(MenuItem item) {
		if (item.getItemId() == android.R.id.home) {
			finish(); 
			return true; 
		} 
		return super.onOptionsItemSelected(item);
	} 
 
	@Override 
	public void showDetails(Fragment fragment) {
		showDetails(fragment, true);
	} 
 
	/* 
	 * (non-Javadoc) 
	 *  
	 * @see 
	 * net.reichholf.dreamdroid.abstivities.MultiPaneHandler#showDetails(java 
	 * .lang.Class) 
	 */ 
	@Override