No way to handle OnCancelListener event
Opened this issue · 1 comments
Shubham-Kathe commented
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);
}
}
);
tuanna-hsp commented
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?