Code example for DialogFragment

Methods: setCancelable, getActivity, getArguments, getResources

0
    return localProgressDialogFragment;
  } 
 
  public Dialog onCreateDialog(Bundle paramBundle)
  { 
    setCancelable(false);
    ProgressDialog localProgressDialog = new ProgressDialog(getActivity());
    localProgressDialog.setProgressStyle(0);
    int i = getArguments().getInt("message_id", 2131165432);
    localProgressDialog.setMessage(getResources().getString(i));
    localProgressDialog.setCancelable(false);
    localProgressDialog.setIndeterminate(true);
    return localProgressDialog;
  } 
} 
 
/* Location:           D:\dex2jar-0.0.9.10\classes-dex2jar.jar 
 * Qualified Name:     com.google.android.finsky.billing.ProgressDialogFragment 
 * JD-Core Version:    0.6.2 
 */ 
Connect your IDE to all the code out there  Get Codota for Java