title: ¿How load image from url in alert dialog?
body: <p>I have this code...</p>
  <p>IMPORTANT: image1 is the URL from the image.</p>
  <pre><code>String image1 = documentSnapshot.getString(&quot;image1&quot;);
  
  AlertDialog.Builder builder = new AlertDialog.Builder(PostDetailActivity.this);
                              builder.setPositiveButton(&quot;Ok&quot;, new DialogInterface.OnClickListener() {
                                  @Override
                                  public void onClick(DialogInterface dialog, int which) {
                                  }
                              }).setNegativeButton(&quot;No thanks&quot;, new DialogInterface.OnClickListener() {
                                  @Override
                                  public void onClick(DialogInterface dialog, int which) {
                                  }
                              });
                              AlertDialog dialog = builder.create();
                              LayoutInflater inflater = getLayoutInflater();
                              View dialogLayout = inflater.inflate(R.layout.dialog_image, null);
                              dialog.setView(dialogLayout);
                              dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
      
                              dialog.show();
  </code></pre>
  <p>I would like load the image in imageview inside of aler dialog. Thanks.</p>