本文整理了Java中android.app.ProgressDialog.setOnDismissListener()
方法的一些代码示例,展示了ProgressDialog.setOnDismissListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ProgressDialog.setOnDismissListener()
方法的具体详情如下:
包路径:android.app.ProgressDialog
类名称:ProgressDialog
方法名:setOnDismissListener
暂无
代码示例来源:origin: JZ-Darkal/AndroidHttpCapture
@Override
public void setOnDismissListener(OnDismissListener listener) {
super.setOnDismissListener(listener);
}
代码示例来源:origin: brarcher/loyalty-card-locker
protected void onPreExecute()
{
progress = new ProgressDialog(activity);
progress.setTitle(doImport ? R.string.importing : R.string.exporting);
progress.setOnDismissListener(new DialogInterface.OnDismissListener()
{
@Override
public void onDismiss(DialogInterface dialog)
{
ImportExportTask.this.cancel(true);
}
});
progress.show();
}
代码示例来源:origin: brarcher/budget-watch
protected void onPreExecute()
{
progress = new ProgressDialog(activity);
progress.setTitle(doImport ? R.string.importing : R.string.exporting);
progress.setOnDismissListener(new DialogInterface.OnDismissListener()
{
@Override
public void onDismiss(DialogInterface dialog)
{
ImportExportTask.this.cancel(true);
}
});
progress.show();
}
代码示例来源:origin: brarcher/budget-watch
protected void onPreExecute()
{
progress = new ProgressDialog(activity);
progress.setTitle(R.string.cleaning);
progress.setOnDismissListener(new DialogInterface.OnDismissListener()
{
@Override
public void onDismiss(DialogInterface dialog)
{
DatabaseCleanupTask.this.cancel(true);
}
});
progress.show();
}
代码示例来源:origin: denzilferreira/aware-client
@Override
protected void onPreExecute() {
super.onPreExecute();
mQuitting = new ProgressDialog(Aware_Join_Study.this);
mQuitting.setMessage("Quitting study, please wait.");
mQuitting.setCancelable(false);
mQuitting.setInverseBackgroundForced(false);
mQuitting.show();
mQuitting.setOnDismissListener(new DialogInterface.OnDismissListener() {
@Override
public void onDismiss(DialogInterface dialogInterface) {
finish();
//Redirect the user to the main UI
Intent mainUI = new Intent(getApplicationContext(), Aware_Client.class);
mainUI.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
startActivity(mainUI);
}
});
}
代码示例来源:origin: denzilferreira/aware-client
@Override
protected void onPreExecute() {
super.onPreExecute();
mLoading = new ProgressDialog(Aware_Join_Study.this);
mLoading.setMessage("Joining study, please wait.");
mLoading.setCancelable(false);
mLoading.setInverseBackgroundForced(false);
mLoading.show();
mLoading.setOnDismissListener(new DialogInterface.OnDismissListener() {
@Override
public void onDismiss(DialogInterface dialogInterface) {
finish();
//Redirect the user to the main UI
Intent mainUI = new Intent(getApplicationContext(), Aware_Client.class);
mainUI.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
startActivity(mainUI);
}
});
}
代码示例来源:origin: stackoverflow.com
progressDialog.setMessage("Wait...");
progressDialog.setIndeterminate(true);
progressDialog.setOnDismissListener(new OnDismissListener() {
代码示例来源:origin: stackoverflow.com
dialog.setIcon(R.drawable.icon);
dialog.setMessage(DialogText);
dialog.setOnDismissListener(new OnDismissListener() {
public void onDismiss(DialogInterface arg0) {
代码示例来源:origin: stackoverflow.com
super.onPreExecute();
pDialog = new ProgressDialog(GroupActivity.this);
pDialog.setOnDismissListener(new OnDismissListener(){
代码示例来源:origin: dkharrat/NexusDialog
loadingIndicator.setOnDismissListener(new OnDismissListener() {
代码示例来源:origin: stackoverflow.com
updateBarHandler = new Handler();
barProgressDialog = new ProgressDialog(MainActivity.this);
barProgressDialog.setOnDismissListener(new DialogInterface.OnDismissListener() {
代码示例来源:origin: stackoverflow.com
dialog.setIcon(R.drawable.icon);
dialog.setMessage(DialogText);
dialog.setOnDismissListener(new OnDismissListener() {
public void onDismiss(DialogInterface arg0) {
代码示例来源:origin: stackoverflow.com
progDialog.setOnDismissListener(new DialogInterface.OnDismissListener() {
@Override
public void onDismiss(DialogInterface dialog) {
代码示例来源:origin: IvanVolosyuk/diskusage
dialog.setOnDismissListener(new OnDismissListener() {
@Override
public void onDismiss(DialogInterface x) {
代码示例来源:origin: andstatus/andstatus
if (progress == null) {
progress = new ProgressDialog(HelpActivity.this, ProgressDialog.STYLE_SPINNER);
progress.setOnDismissListener(HelpActivity.this);
progress.setTitle(MyContextHolder.get().state() == MyContextState.UPGRADING ?
R.string.label_upgrading : R.string.app_name);
代码示例来源:origin: GeoODK/collect
mProgressDialog.setOnDismissListener(new DialogInterface.OnDismissListener() {
@Override
public void onDismiss(DialogInterface dialog) {
内容来源于网络,如有侵权,请联系作者删除!