use of com.frostwire.android.gui.dialogs.YesNoDialog in project frostwire by frostwire.
the class MainActivity method showLastBackDialog.
private void showLastBackDialog() {
YesNoDialog dlg = YesNoDialog.newInstance(LAST_BACK_DIALOG_ID, R.string.minimize_frostwire, R.string.are_you_sure_you_wanna_leave, YesNoDialog.FLAG_DISMISS_ON_OK_BEFORE_PERFORM_DIALOG_CLICK);
// see onDialogClick
dlg.show(getFragmentManager());
}
use of com.frostwire.android.gui.dialogs.YesNoDialog in project frostwire by frostwire.
the class SeedAction method showSeedingDialog.
private void showSeedingDialog() {
YesNoDialog dlg = YesNoDialog.newInstance(DLG_SEEDING_OFF_TAG, R.string.enable_seeding, R.string.seeding_is_currently_disabled_in_settings, YesNoDialog.FLAG_DISMISS_ON_OK_BEFORE_PERFORM_DIALOG_CLICK);
dlg.setOnDialogClickListener(this);
dlg.show(((Activity) getContext()).getFragmentManager());
}
Aggregations