/** * Resets the tracking of the most recently created {@code AlertDialog} */ public static void reset() { ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); shadowApplication.setLatestAlertDialog(null); }
@Override public void show() { super.show(); ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); shadowApplication.setLatestAlertDialog(this); }
/** * Resets the tracking of the most recently created {@code AlertDialog} */ public static void reset() { ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); shadowApplication.setLatestAlertDialog(null); }
/** * Resets the tracking of the most recently created {@code AlertDialog} */ public static void reset() { shadowOf(RuntimeEnvironment.application).setLatestAlertDialog(null); }
/** * Resets the tracking of the most recently created {@code AlertDialog} */ public static void reset() { shadowOf(RuntimeEnvironment.application).setLatestAlertDialog(null); }
/** * Resets the tracking of the most recently created {@code AlertDialog} */ public static void reset() { shadowOf(RuntimeEnvironment.application).setLatestAlertDialog(null); }
@Override public void show() { super.show(); ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); shadowApplication.setLatestAlertDialog(this); }
@Implementation public void show() { super.show(); shadowOf(RuntimeEnvironment.application).setLatestAlertDialog(this); }
@Implementation public void show() { super.show(); shadowOf(RuntimeEnvironment.application).setLatestAlertDialog(this); }
@Override @Implementation public void show() { super.show(); shadowOf(RuntimeEnvironment.application).setLatestAlertDialog(this); }