diff --git a/docs/coil/overview.md b/docs/coil/overview.md index aaa5f975..4b421ef9 100644 --- a/docs/coil/overview.md +++ b/docs/coil/overview.md @@ -27,6 +27,7 @@ Add the dependency below to your **module**'s `build.gradle` file: Please make sure your project uses the same Jetpack Compose version on the [release page](https://github.com/skydoves/Landscapist/releases). ### CoilImage + You can load images by using the `CoilImage` composable function as the following example below: ```kotlin @@ -41,6 +42,6 @@ CoilImage( ### Compose Metrics -According to the [Compose Compoler Metrics](https://github.com/androidx/androidx/blob/androidx-main/compose/compiler/design/compiler-metrics.md), the `CoilImage` Composable function is marked as Restartable and Skippable. This means you don't have to worry about performance issues related to re-rendering or re-fetching problems that can occur during recomposition. The Composable function's restartable and skippable nature ensures that the necessary actions are taken to optimize rendering, making it more efficient and seamless. +According to the [Compose Compiler Metrics](https://github.com/androidx/androidx/blob/androidx-main/compose/compiler/design/compiler-metrics.md), the `CoilImage` Composable function is marked as Restartable and Skippable. This means you don't have to worry about performance issues related to re-rendering or re-fetching problems that can occur during recomposition. The Composable function's restartable and skippable nature ensures that the necessary actions are taken to optimize rendering, making it more efficient and seamless. ![compose-metrics-coil](https://github.com/skydoves/landscapist/assets/24237865/5718a15e-07bc-4ee3-b76f-13fb09ed6d27) diff --git a/docs/coil3.md b/docs/coil3.md index cab663a8..a742a9aa 100644 --- a/docs/coil3.md +++ b/docs/coil3.md @@ -57,6 +57,6 @@ CoilImage( ### Compose Metrics -According to the [Compose Compoler Metrics](https://github.com/androidx/androidx/blob/androidx-main/compose/compiler/design/compiler-metrics.md), the `CoilImage` Composable function is marked as Restartable and Skippable. This means you don't have to worry about performance issues related to re-rendering or re-fetching problems that can occur during recomposition. The Composable function's restartable and skippable nature ensures that the necessary actions are taken to optimize rendering, making it more efficient and seamless. +According to the [Compose Compiler Metrics](https://github.com/androidx/androidx/blob/androidx-main/compose/compiler/design/compiler-metrics.md), the `CoilImage` Composable function is marked as Restartable and Skippable. This means you don't have to worry about performance issues related to re-rendering or re-fetching problems that can occur during recomposition. The Composable function's restartable and skippable nature ensures that the necessary actions are taken to optimize rendering, making it more efficient and seamless. ![compose-metrics-coil](https://github.com/skydoves/landscapist/assets/24237865/5718a15e-07bc-4ee3-b76f-13fb09ed6d27) diff --git a/docs/fresco/overview.md b/docs/fresco/overview.md index 54f922b7..0fcdf1bc 100644 --- a/docs/fresco/overview.md +++ b/docs/fresco/overview.md @@ -28,7 +28,9 @@ Add the dependency below to your **module**'s `build.gradle` file: `Landscapist-Fresco` includes version `2.6.0` of Fresco. So please make sure your project is using the same Fresco version or exclude the Fresco dependency to adapt yours. Also, please make sure the Jetpack Compose version on the [release page](https://github.com/skydoves/Landscapist/releases). ### Setup -To get started, you should set up `Fresco` with [ImagePipelineConfig](https://frescolib.org/docs/configure-image-pipeline.html) in your `Application` class. Generally, it's recommended initializing with `OkHttpImagePipelineConfigFactory`. Also, you can customize caching, networking, and thread pool strategies with your own `ImagePipelineConfig`. For more details, you can check out [Using Other Network Layers](https://frescolib.org/docs/using-other-network-layers.html#using-okhttp). + +To get started, you should set up `Fresco` with [ImagePipelineConfig](https://frescolib.org/docs/configure-image-pipeline.html) in your `Application` class. Generally, it's recommended initializing with `OkHttpImagePipelineConfigFactory`. Also, you can customize caching, networking, and thread pool strategies with your own `ImagePipelineConfig`. For more details, you can check out [Using Other Network Layers](https://frescolib.org/docs/using-other-network-layers.html#using-okhttp). + ```kotlin class App : Application() { @@ -49,6 +51,7 @@ class App : Application() { ``` ### FrescoImage + You can load images by using the `FrescoImage` composable function as the following example below: ```kotlin @@ -63,6 +66,6 @@ FrescoImage( ### Compose Metrics -According to the [Compose Compoler Metrics](https://github.com/androidx/androidx/blob/androidx-main/compose/compiler/design/compiler-metrics.md), the `FrescoImage` Composable function is marked as Restartable and Skippable. This means you don't have to worry about performance issues related to re-rendering or re-fetching problems that can occur during recomposition. The Composable function's restartable and skippable nature ensures that the necessary actions are taken to optimize rendering, making it more efficient and seamless. +According to the [Compose Compiler Metrics](https://github.com/androidx/androidx/blob/androidx-main/compose/compiler/design/compiler-metrics.md), the `FrescoImage` Composable function is marked as Restartable and Skippable. This means you don't have to worry about performance issues related to re-rendering or re-fetching problems that can occur during recomposition. The Composable function's restartable and skippable nature ensures that the necessary actions are taken to optimize rendering, making it more efficient and seamless. -![compose-metrics-fresco](https://github.com/skydoves/landscapist/assets/24237865/f28c467d-d8c5-476d-b65d-f976876777af) \ No newline at end of file +![compose-metrics-fresco](https://github.com/skydoves/landscapist/assets/24237865/f28c467d-d8c5-476d-b65d-f976876777af) diff --git a/docs/glide/overview.md b/docs/glide/overview.md index 8d684320..5a10531c 100644 --- a/docs/glide/overview.md +++ b/docs/glide/overview.md @@ -55,6 +55,6 @@ GlideImage( ### Compose Metrics -According to the [Compose Compoler Metrics](https://github.com/androidx/androidx/blob/androidx-main/compose/compiler/design/compiler-metrics.md), the `GlideImage` Composable function is marked as Restartable and Skippable. This means you don't have to worry about performance issues related to re-rendering or re-fetching problems that can occur during recomposition. The Composable function's restartable and skippable nature ensures that the necessary actions are taken to optimize rendering, making it more efficient and seamless. +According to the [Compose Compiler Metrics](https://github.com/androidx/androidx/blob/androidx-main/compose/compiler/design/compiler-metrics.md), the `GlideImage` Composable function is marked as Restartable and Skippable. This means you don't have to worry about performance issues related to re-rendering or re-fetching problems that can occur during recomposition. The Composable function's restartable and skippable nature ensures that the necessary actions are taken to optimize rendering, making it more efficient and seamless. ![Compose Metrics](https://github.com/skydoves/landscapist/assets/24237865/bc83dd61-b10a-480d-8797-252df81a10d1)