title: Problems with alertdialog show in fragment android
body: <p>I have followed android example but I have an incomprehensive error : </p>
  
  <pre><code>void showDialog() {
      DialogFragment newFragment = MyAlertDialogFragment.newInstance();
      newFragment.show(fm, "alert");
  }
  
  public static class MyAlertDialogFragment extends DialogFragment {
      public static MyAlertDialogFragment newInstance() {
          MyAlertDialogFragment frag = new MyAlertDialogFragment();
          return frag;
      }
  
      public Dialog onCreateDialog(Bundle savedInstanceState) {
          return new AlertDialog.Builder(getActivity()).setTitle("test")
                  .setMessage("bla bla bla").create();
      }
  }
  </code></pre>
  
  <p><code>newFragment.show(fm, "alert");</code> returns me an error : </p>
  
  <blockquote>
    <p>The method show(FragmentManager, String) in the type DialogFragment is
    not applicable for the arguments (FragmentManager, String)</p>
  </blockquote>
  
  <p>Someone could help me ?</p>