Skip to content

Commit

Permalink
Docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrtwhite committed Jan 31, 2025
1 parent bb79dad commit 05cefc4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import android.graphics.BitmapFactory
import android.graphics.ImageDecoder
import coil3.decode.BitmapFactoryDecoder
import coil3.decode.BitmapFactoryDecoder.Companion.DEFAULT_MAX_PARALLELISM
import coil3.decode.Decoder
import coil3.decode.ExifOrientationStrategy
import coil3.decode.ExifOrientationStrategy.Companion.RESPECT_PERFORMANCE

Expand Down Expand Up @@ -45,7 +46,7 @@ private val bitmapFactoryExifOrientationStrategyKey = Extras.Key(default = RESPE
// region imageDecoderEnabled

/**
* Enables using [ImageDecoder] as this image loader's main decoder on API 29 and above.
* Enables using [ImageDecoder] as this image loader's main [Decoder] on API 29 and above.
* If false, [BitmapFactory] is used on all API levels.
*/
fun ImageLoader.Builder.imageDecoderEnabled(enabled: Boolean) = apply {
Expand Down

0 comments on commit 05cefc4

Please sign in to comment.