Code example for FragmentActivity

Methods: onOptionsItemSelected

0
	@Override 
	public boolean onOptionsItemSelected(MenuItem item) { 
		if (mDistribution.onOptionsItemSelected(item)) { 
			return true; 
		} 
		return super.onOptionsItemSelected(item); 
	} 
 
	@Override 
	protected Dialog onCreateDialog(int id) { 
		return mDistribution.onCreateDialog(id); 
	} 
 
	@Override 
	protected void onPrepareDialog(int id, Dialog dialog) { 
		super.onPrepareDialog(id, dialog); 
		mDistribution.onPrepareDialog(id, dialog); 
	} 
}