Code example for Dialog

Methods: setOnDismissListener

0
        mSsoWebView.setWebViewClient(null);
         
        // Work around bug: http://code.google.com/p/android/issues/detail?id=17423 
        Dialog dialog = getDialog();
        if ((dialog != null)) {
            dialog.setOnDismissListener(null);
            //dialog.dismiss(); 
            //dialog.setDismissMessage(null); 
        } 
         
        super.onDestroyView(); 
    } 
     
    @Override 
    public void onDestroy() { 
        Log_OC.d(TAG, "onDestroy");
        super.onDestroy(); 
    } 
 
    @Override 
    public void onDetach() {