diff --git a/examples/README.md b/examples/README.md index a7673705..5aea51eb 100644 --- a/examples/README.md +++ b/examples/README.md @@ -73,6 +73,7 @@ A bunch of simpler examples exist: - [`clock`](clock), an application that uses the `Canvas` widget to draw a clock and its hands to display the current time. - [`counter`](counter), the classic counter example explained in the [`README`](../README.md). - [`custom_widget`](custom_widget), a demonstration of how to build a custom widget that draws a circle. +- [`download_progress`](download_progress), a basic application that asynchronously downloads a dummy file of 100 MB and tracks the download progress. - [`events`](events), a log of native events displayed using a conditional `Subscription`. - [`geometry`](geometry), a custom widget showcasing how to draw geometry with the `Mesh2D` primitive in [`iced_wgpu`](../wgpu). - [`integration`](integration), a demonstration of how to integrate Iced in an existing graphical application. diff --git a/examples/download_progress/README.md b/examples/download_progress/README.md index c6311163..c606c5f9 100644 --- a/examples/download_progress/README.md +++ b/examples/download_progress/README.md @@ -1,10 +1,12 @@ -## Download Progress +## Download progress -Downloading a file asynchronously with a `Subscription` while displaying the progress with a `ProgressBar`. +A basic application that asynchronously downloads a dummy file of 100 MB and tracks the download progress. + +The example implements a custom `Subscription` in the __[`download`](src/download.rs)__ module. This subscription downloads and produces messages that can be used to keep track of its progress.
- - + +