title: Custom Dialog - You must call removeView() on the child's parent first
body: <p>I'm using a custom AlertDialog for my project and, when i try to show it the second time it tells me <code>java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.</code></p>
  
  <p>In <code>onCreate</code> of my activity i have:</p>
  
  <pre><code>infoDialog = new QustomDialogBuilder(this);
  infoDialog.setTitle("Attenzione");
  infoDialog.setTitleColor(Constants.ANTINORI_LIGHT);
  infoDialog.setDividerColor(Constants.ANTINORI_LIGHT);
  infoDialog.setNeutralButton("OK", new DialogInterface.OnClickListener() {
      @Override
      public void onClick(DialogInterface dialog, int which) {
          dialog.dismiss();
      }
  });
  </code></pre>
  
  <p>Later i use it as reply of an AsyncTask:</p>
  
  <pre><code>//DO STUFF
  infoDialog.setMessage(loginResponse.getMessage());
  infoDialog.show();
  </code></pre>
  
  <p>The first time i show this infoDialog it works fine, but the second time it gives me the <code>IllegalStateException</code>.</p>
  
  <p>I've read a lot of oher post on StackOverflow, but no one seems to solve my problem.
  Hope someone can help me.</p>