Code example for DialogFragment

Methods: onDestroy

0
 
    @Override 
    public void onStop() { 
        syncNotify(); 
        mCallback.onPinentryDialogClosed();
        super.onDestroy(); 
    } 
 
    private synchronized void syncNotify() { 
        notify();
    } 
 
    private synchronized void setPin() { 
        if (pinentry == null)
            return; 
        pinentry.pin = pinEdit.getText().toString();
        pinentry.result = pinEdit.getText().length();
    } 
 
    private synchronized void setNotOked(boolean notoked) {
        if (pinentry == null)