public static Observable<EResponse> createGenericContinueMessage(Context context, String title, String message) { return createGenericContinueMessage(context, null, title, message, R.string.continue_option); }
/** * Show an AlertDialog with the {@code title} and the {@code message}. The Alert dialog has an * "ok" button. * * @param title Title to apply on AlertDialog * @param message Message to asSnack on AlertDialog * * @return A Observable that shows the dialog when subscribed and return the action made by * user. This action is represented by EResponse * * @see EResponse */ public static Observable<EResponse> createGenericOkMessage(Context context, String title, String message) { return createGenericContinueMessage(context, null, title, message, android.R.string.ok); }