private void showErrorMessage(final CharSequence text, final boolean fatal) { final VoiceableDialog finishedDialog = new VoiceableDialog(this); if (fatal) { setTitle(R.string.failure); } finishedDialog.popup(text.toString(), 5000); }
private void notifyFavoritesAction(int messageId) { final VoiceableDialog finishedDialog = new VoiceableDialog(myActivity); String message = getResources().getString(messageId); finishedDialog.popup(message, 3200); }