Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to handle OnCancelListener event #61

Open
Shubham-Kathe opened this issue May 23, 2019 · 1 comment
Open

No way to handle OnCancelListener event #61

Shubham-Kathe opened this issue May 23, 2019 · 1 comment

Comments

@Shubham-Kathe
Copy link

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);
}
}
);

@Shubham-Kathe Shubham-Kathe changed the title No way to OnCancelListener No way to handle OnCancelListener event May 23, 2019
@tuanna-hsp
Copy link
Contributor

Sorry, there should have been a method to register on cancel event. It's fine I can add it later but do you want to create a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants