title: alertdialog - is it cool way make new alertdialog when popup this?
body: <p>related question is <a href="https://stackoverflow.com/questions/22107128/alertdialog-removeview-has-to-get-called/22107270#22107270">here</a></p>
  
  <p>making android app, I think my code is not cool.</p>
  
  <p>Because, <strong>I make new AlderDialog.Builder whenever needs dialog</strong> to prevent this error </p>
  
  <p><em>"The specified child already has a parent. You must call removeView() on the child's parent first."</em></p>
  
  <p>my code is here</p>
  
  <pre><code>mDisposable.add(
      RxView.clicks(fabTodoAdd).subscribe(aVoid -&gt; {
        initBuilder();
        builder.show();
      })
  );
  
  private void initBuilder() {
    if (getActivity() != null) {
      builder = new AlertDialog.Builder(getActivity());
      builder.setTitle("Add Your Todo");
      builderInput = new EditText(getActivity());
      builderInput.setInputType(InputType.TYPE_CLASS_TEXT);
      builder.setView(builderInput);
      builder.setPositiveButton("OK", (dialog, which) -&gt; builderInput.getText());
      builder.setNegativeButton("Cancel", (dialog, which) -&gt; dialog.cancel());
    }
  }
  </code></pre>
  
  <p>is there any way make only one time builder, and call not (init, show) but only show ?</p>