DownloadProgressFragment

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.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open var job: DownloadJob

Functions

Link copied to clipboard
open fun getDialog(): Dialog
Returns the ProgressDialog that is used by this fragment.
Link copied to clipboard
open fun onCancel(dialog: DialogInterface)
Link copied to clipboard
open fun onCreate(@Nullable savedInstanceState: Bundle)
Link copied to clipboard
fun onCreateDialog(savedInstanceState: Bundle): Dialog
Link copied to clipboard
open fun onDestroyView()
Link copied to clipboard
Sets a DialogInterface.OnCancelListener that will be informed when the progress dialog was cancelled by the user.