Skip to content

Updating snippet to use coil3 artifact - #1030

Open
wardlauren wants to merge 3 commits into
mainfrom
coil-branch
Open

Updating snippet to use coil3 artifact#1030
wardlauren wants to merge 3 commits into
mainfrom
coil-branch

Conversation

@wardlauren

Copy link
Copy Markdown
Contributor

Updating snippet to use coil3 artifact.

@wardlauren
wardlauren requested a review from riggaroo August 13, 2026 20:11
@wardlauren
wardlauren requested review from a team as code owners August 13, 2026 20:12

@yrezgui yrezgui left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to check why we have both of these dependencies

Comment thread tv/build.gradle.kts Outdated
implementation(libs.androidx.fragment.ktx)
implementation(libs.androidx.work.runtime.ktx)
implementation(libs.coil.kt.compose)
implementation(libs.coil3.compose)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a bit confused why we're adding coil3 as a dependency without changing the import; see the usages.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please either remove the implementation or add the coil3 import.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the library from this module.

Comment thread tv/build.gradle.kts Outdated
implementation(libs.androidx.fragment.ktx)
implementation(libs.androidx.work.runtime.ktx)
implementation(libs.coil.kt.compose)
implementation(libs.coil3.compose)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we adding these libraries in this module? The imports are still referecing coil2

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the library from this module.

import androidx.compose.ui.res.stringResource
import androidx.compose.ui.tooling.preview.Preview
import coil.compose.AsyncImage
import coil3.compose.AsyncImage

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why aren't we updating all the imports in the compose module to reference coil3?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe I've updated all the imports in the Compose module now to reference coil3.

Comment thread gradle/libs.versions.toml
Comment on lines +44 to 45
# Coil 2
coil = "2.7.0"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might want to remove this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants