public final class FinishListener extends Object implements DialogInterface.OnClickListener, DialogInterface.OnCancelListener, Runnable
Modifier and Type | Field and Description |
---|---|
private Activity |
activityToFinish |
Constructor and Description |
---|
FinishListener(Activity activityToFinish) |
Modifier and Type | Method and Description |
---|---|
void |
onCancel(DialogInterface dialogInterface) |
void |
onClick(DialogInterface dialogInterface,
int i) |
void |
run() |
private final Activity activityToFinish
public FinishListener(Activity activityToFinish)
public void onCancel(DialogInterface dialogInterface)
onCancel
in interface DialogInterface.OnCancelListener
public void onClick(DialogInterface dialogInterface, int i)
onClick
in interface DialogInterface.OnClickListener