Download Progress Fragment
A fragment for retaining a DownloadJob and showing its progress. Create the fragment via its constructor and call setJob. This is a retained fragment and can't be used as nested fragment.
Functions
Link copied to clipboard
Called when the dialog is cancelled by the user.
Link copied to clipboard
Creates and returns the download progress dialog.
Link copied to clipboard
Called when the view hierarchy associated with the fragment is being removed.
Link copied to clipboard
open fun setDialogOnCancelListener(@Nullable dialogCancelListener: DialogInterface.OnCancelListener)
Sets a DialogInterface.OnCancelListener that will be informed when the progress dialog was cancelled by the user.