dialogBuilder.setPositiveButton(R.string.download, (DialogInterface dialog, int which) -> {
// trigger `onDownloadFile()` and return the `DialogFragment` and the download URL to the parent activity.
downloadImageListener.onDownloadImage(DownloadImageDialog.this, imageUrl);
});
dialogBuilder.setPositiveButton(R.string.download, (DialogInterface dialog, int which) -> {
// trigger `onDownloadFile()` and return the `DialogFragment` and the download URL to the parent activity.
downloadImageListener.onDownloadImage(DownloadImageDialog.this, imageUrl);
});