diff --git a/api/coil-singleton/coil/-coil/image-loader.html b/api/coil-singleton/coil/-coil/image-loader.html index c099027e60..7bf341e3c5 100644 --- a/api/coil-singleton/coil/-coil/image-loader.html +++ b/api/coil-singleton/coil/-coil/image-loader.html @@ -63,7 +63,7 @@

imageLoader

-

Get the singleton ImageLoader.

+

Get the singleton ImageLoader.

-

Get the singleton ImageLoader.

+

Get the singleton ImageLoader.

diff --git a/api/coil-singleton/coil/-coil/set-image-loader.html b/api/coil-singleton/coil/-coil/set-image-loader.html index 37e6261233..49ff99d4b1 100644 --- a/api/coil-singleton/coil/-coil/set-image-loader.html +++ b/api/coil-singleton/coil/-coil/set-image-loader.html @@ -63,7 +63,7 @@

setImageLoader

-

Set the singleton ImageLoader. Prefer using setImageLoader(ImageLoaderFactory) to create the ImageLoader lazily.


Set the ImageLoaderFactory that will be used to create the singleton ImageLoader. The factory is guaranteed to be called at most once.

NOTE: factory will take precedence over an Application that implements ImageLoaderFactory.

+

Set the singleton ImageLoader. Prefer using setImageLoader(ImageLoaderFactory) to create the ImageLoader lazily.


Set the ImageLoaderFactory that will be used to create the singleton ImageLoader. The factory is guaranteed to be called at most once.

NOTE: factory will take precedence over an Application that implements ImageLoaderFactory.

@@ -127,7 +127,7 @@

Properties

-

Get the ImageResult of the most recently executed image request that's attached to this view.

+

Get the ImageResult of the most recently executed image request that's attached to this view.

@@ -146,7 +146,7 @@

Functions

-
inline fun ImageView.dispose()

Dispose the request that's attached to this view (if there is one).

+
inline fun ImageView.dispose()

Dispose the request that's attached to this view (if there is one).

@@ -161,7 +161,7 @@

Functions

-
inline fun ImageView.load(data: Any?, imageLoader: ImageLoader = context.imageLoader, builder: ImageRequest.Builder.() -> Unit = {}): Disposable

Load the image referenced by data and set it on this ImageView.

+
inline fun ImageView.load(data: Any?, imageLoader: ImageLoader = context.imageLoader, builder: ImageRequest.Builder.() -> Unit = {}): Disposable

Load the image referenced by data and set it on this ImageView.

diff --git a/api/coil-singleton/coil/load.html b/api/coil-singleton/coil/load.html index 67b85f3c16..bcd9e923b8 100644 --- a/api/coil-singleton/coil/load.html +++ b/api/coil-singleton/coil/load.html @@ -63,7 +63,7 @@

load

-
inline fun ImageView.load(data: Any?, imageLoader: ImageLoader = context.imageLoader, builder: ImageRequest.Builder.() -> Unit = {}): Disposable

Load the image referenced by data and set it on this ImageView.

Example:

imageView.load("https://example.com/image.jpg") {
crossfade(true)
transformations(CircleCropTransformation())
}

The default supported data types are:

Parameters

data

The data to load.

imageLoader

The ImageLoader that will be used to enqueue the ImageRequest. By default, the singleton ImageLoader will be used.

builder

An optional lambda to configure the ImageRequest.

+
inline fun ImageView.load(data: Any?, imageLoader: ImageLoader = context.imageLoader, builder: ImageRequest.Builder.() -> Unit = {}): Disposable

Load the image referenced by data and set it on this ImageView.

Example:

imageView.load("https://example.com/image.jpg") {
crossfade(true)
transformations(CircleCropTransformation())
}

The default supported data types are:

Parameters

data

The data to load.

imageLoader

The ImageLoader that will be used to enqueue the ImageRequest. By default, the singleton ImageLoader will be used.

builder

An optional lambda to configure the ImageRequest.

diff --git a/api/coil-video/coil.fetch/-media-data-source-fetcher/-factory/create.html b/api/coil-video/coil.fetch/-media-data-source-fetcher/-factory/create.html index 880eb64400..cd80d7fb28 100644 --- a/api/coil-video/coil.fetch/-media-data-source-fetcher/-factory/create.html +++ b/api/coil-video/coil.fetch/-media-data-source-fetcher/-factory/create.html @@ -63,7 +63,7 @@

create

-
open override fun create(data: MediaDataSource, options: Options, imageLoader: ImageLoader): Fetcher
+
open override fun create(data: MediaDataSource, options: Options, imageLoader: ImageLoader): Fetcher
diff --git a/api/coil-video/coil.fetch/-media-data-source-fetcher/-media-data-source-fetcher.html b/api/coil-video/coil.fetch/-media-data-source-fetcher/-media-data-source-fetcher.html index 8f607dadd0..3e730c7641 100644 --- a/api/coil-video/coil.fetch/-media-data-source-fetcher/-media-data-source-fetcher.html +++ b/api/coil-video/coil.fetch/-media-data-source-fetcher/-media-data-source-fetcher.html @@ -63,7 +63,7 @@

MediaDataSourceFetcher

-
constructor(data: MediaDataSource, options: Options)
+
constructor(data: MediaDataSource, options: Options)
@@ -98,7 +98,7 @@

Properties

- +
diff --git a/api/coil-video/coil.fetch/-media-data-source-fetcher/-media-source-metadata/media-data-source.html b/api/coil-video/coil.fetch/-media-data-source-fetcher/-media-source-metadata/media-data-source.html index c87c64fd4a..de6efabc6f 100644 --- a/api/coil-video/coil.fetch/-media-data-source-fetcher/-media-source-metadata/media-data-source.html +++ b/api/coil-video/coil.fetch/-media-data-source-fetcher/-media-source-metadata/media-data-source.html @@ -63,7 +63,7 @@

mediaDataSource

-
+
@@ -98,7 +98,7 @@

Types

- +
@@ -113,7 +113,7 @@

Types

-
@RequiresApi(value = 23)
class MediaSourceMetadata(val mediaDataSource: MediaDataSource) : ImageSource.Metadata
+
@RequiresApi(value = 23)
class MediaSourceMetadata(val mediaDataSource: MediaDataSource) : ImageSource.Metadata
diff --git a/api/coil-video/coil.fetch/index.html b/api/coil-video/coil.fetch/index.html index c20c4c1be9..1f0818a914 100644 --- a/api/coil-video/coil.fetch/index.html +++ b/api/coil-video/coil.fetch/index.html @@ -78,7 +78,7 @@

Types

- +
diff --git a/api/coil-video/coil.request/video-frame-option.html b/api/coil-video/coil.request/video-frame-option.html index bee6b858d8..359671151c 100644 --- a/api/coil-video/coil.request/video-frame-option.html +++ b/api/coil-video/coil.request/video-frame-option.html @@ -63,7 +63,7 @@

videoFrameOption

-

Set the option for how to decode the video frame.

Must be one of OPTION_PREVIOUS_SYNC, OPTION_NEXT_SYNC, OPTION_CLOSEST_SYNC, OPTION_CLOSEST.

Default: OPTION_CLOSEST_SYNC

See also


Get the option for how to decode the video frame.

+

Set the option for how to decode the video frame.

Must be one of OPTION_PREVIOUS_SYNC, OPTION_NEXT_SYNC, OPTION_CLOSEST_SYNC, OPTION_CLOSEST.

Default: OPTION_CLOSEST_SYNC

See also


Get the option for how to decode the video frame.