Code example for DialogFragment

Methods: getTargetFragment, onDismiss

0
      DownloadSizeDialogFragment.1 var6 = new DownloadSizeDialogFragment.1(); 
      return var5.setNegativeButton(2131230813, var6).create();
   } 
 
   public void onDismiss(DialogInterface var1) {
      super.onDismiss(var1);
      if(this.getTargetFragment() instanceof DownloadSizeDialogFragment.DownloadSizeDialogListener) {
         ((DownloadSizeDialogFragment.DownloadSizeDialogListener)this.getTargetFragment()).onDownloadCancel();
      } else { 
         Object[] var2 = new Object[0];
         FinskyLog.wtf("Target fragment does not implement DownloadSizeDialogListener.", var2);
      } 
   } 
 
   class 1 implements OnClickListener { 
 
      1() {} 
 
      public void onClick(DialogInterface var1, int var2) {
         ((DownloadSizeDialogFragment.DownloadSizeDialogListener)DownloadSizeDialogFragment.this.getTargetFragment()).onDownloadCancel();
      }