There is no way to handle onCancel Event
for ex.
ProgressDialog myDialog = ProgressDialog.show(
mContext,
"Please wait...",
"Loading the data",
true,
true,
new DialogInterface.OnCancelListener(){
@Override
public void onCancel(DialogInterface dialog) {
Log.d(TAG,"onCancel");
onjName.cancel(true);
}
}
);
There is no way to handle onCancel Event for ex. ProgressDialog myDialog = ProgressDialog.show( mContext, "Please wait...", "Loading the data", true, true, new DialogInterface.OnCancelListener(){ @Override public void onCancel(DialogInterface dialog) { Log.d(TAG,"onCancel"); onjName.cancel(true); } } );