Code example for DialogFragment

Methods: getActivity, getTag, onDismiss

0
			} 
		} 
		 
		@Override 
		public void onDismiss(DialogInterface dialog) {
			super.onDismiss(dialog);
			FragmentActivity activity = getActivity();
			if (activity == null) {
				return; 
			} 
			 
			Fragment fragment = activity.getSupportFragmentManager().findFragmentByTag(TAG_PLUS_CLIENT);
			if (fragment instanceof PlusClientFragment) {
				((PlusClientFragment)fragment).onDialogDismissed(getTag());
			} 
		} 
	} 
	 
	protected void hideProgressDialog() { 
		FragmentManager manager = getFragmentManager();
		if (manager != null) {