forked from mirrors/gecko-dev
Previously the call to `PerformLoad()` was shielded by mutable state (hasStartedLoading). When this state was changed then the `PerformLoad()` composable would leave the composition and the coroutine scope performing the load gets cancelled. This can cause loads to not happen. It turns out `hasStartedLoading` is not needed at all: The key we pass to LaunchedEffect already guards against multiple loads and will only perform a reload if the URL changes. |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle | ||
| proguard-rules-consumer.pro | ||
| proguard-rules.pro | ||
| README.md | ||
Android Components > Support > Images
A collection of helpers for handling images such as icons and thumbnails.
Usage
Setting up the dependency
Use Gradle to download the library from maven.mozilla.org (Setup repository):
implementation "org.mozilla.components:support-images:{latest-version}"
License
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/