Code example for DialogFragment

Methods: onDismiss, getActivity

0
	} 
 
	@Override 
	public void onDismiss(final DialogInterface dialog)
	{ 
		final LocalBroadcastManager localBroadcastManager = LocalBroadcastManager.getInstance(getActivity());
		localBroadcastManager.sendBroadcast(new Intent(RESET_CLOSE_ACTION));
		super.onDismiss(dialog);
	} 
} 
Experience pair programming with AI  Get Codota for Java