android-components / mozilla.components.feature.downloads / DownloadDialogFragment / <init>

<init>

DownloadDialogFragment()

This is a general representation of a dialog meant to be used in collaboration with DownloadsFeature to show a dialog before a download is triggered. If SimpleDownloadDialogFragment is not flexible enough for your use case you should inherit for this class. Be mindful to call onStartDownload when you want to start the download.