@Test public void shouldShowGivenDialog() { mDialogWithBlurredBackgroundLauncher.showDialog(dialog); AlertDialog alert = ShadowAlertDialog.getLatestAlertDialog(); assertThat(dialog).isEqualTo(alert); }
public static void showDialog(Activity activity, Dialog dialog) { new DialogWithBlurredBackgroundLauncher(activity).showDialog(dialog); }
DialogWithBlurredBackgroundLauncher implements BlurringImageListener { public static void showDialog(Activity activity, Dialog dialog) { new DialogWithBlurredBackgroundLauncher(activity).showDialog(dialog); } }
DialogWithBlurredBackgroundLauncher implements BlurringImageListener { public static void showDialog(Activity activity, Dialog dialog) { new DialogWithBlurredBackgroundLauncher(activity).showDialog(dialog); } DialogWithBlurredBackgroundLauncher(Activity activity); }
DialogWithBlurredBackgroundLauncher implements BlurringImageListener { public static void showDialog(Activity activity, Dialog dialog) { new DialogWithBlurredBackgroundLauncher(activity).showDialog(dialog); } DialogWithBlurredBackgroundLauncher(Activity activity); static void showDialog(Activity activity, Dialog dialog); Dialog showDialog(Dialog dialog); @Override void onBlurringFinish(Bitmap blurredImage); }
DialogWithBlurredBackgroundLauncher implements BlurringImageListener { public static void showDialog(Activity activity, Dialog dialog) { new DialogWithBlurredBackgroundLauncher(activity).showDialog(dialog); } DialogWithBlurredBackgroundLauncher(Activity activity); static void showDialog(Activity activity, Dialog dialog); Dialog showDialog(Dialog dialog); @Override void onBlurringFinish(Bitmap blurredImage);  }