Code example for DialogFragment

Methods: a, getActivity, onActivityCreated

0
    dismiss();
  } 
 
  public void onActivityCreated(Bundle paramBundle)
  { 
    super.onActivityCreated(paramBundle);
    if (this.a)
      a(getActivity());
  } 
 
  public void onCreate(Bundle paramBundle)
  { 
    super.onCreate(paramBundle);
    if (paramBundle != null)
      this.a = paramBundle.getBoolean("progress_showing", false);
    this.c = new c(this);
    this.d = p.a(getActivity());
    this.d.a(this.c, new IntentFilter("com.avast.android.generic.app.passwordrecovery.ACTION_NEW_STATE"));
  } 
 
  @TargetApi(8)