-
Notifications
You must be signed in to change notification settings - Fork 419
Updating snippet to use coil3 artifact #1030
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,7 +41,10 @@ androidx-work-runtime = "2.11.2" | |
| androidxHiltNavigationCompose = "1.4.0" | ||
| appcompat = "1.7.1" | ||
| camera-camera2 = "1.6.1" | ||
| # Coil 2 | ||
| coil = "2.7.0" | ||
|
Comment on lines
+44
to
45
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. might want to remove this |
||
| # Coil 3 | ||
| coil3 = "3.5.0" | ||
| # @keep | ||
| compileSdk = "37" | ||
| compose-latest = "1.12.0" | ||
|
|
@@ -284,6 +287,8 @@ appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" | |
| billing = { module = "com.android.billingclient:billing-ktx", version.ref = "playbilling" } | ||
| camera-camera2 = { module = "androidx.camera:camera-camera2", version.ref = "camera-camera2" } | ||
| coil-kt-compose = { module = "io.coil-kt:coil-compose", version.ref = "coil" } | ||
| coil3-compose = { module = "io.coil-kt.coil3:coil-compose", version.ref = "coil3" } | ||
| coil3-network-okhttp = { module = "io.coil-kt.coil3:coil-network-okhttp", version.ref = "coil3" } | ||
| compose-foundation = { module = "androidx.wear.compose:compose-foundation", version.ref = "wearComposeFoundation" } | ||
| compose-ui-tooling = { module = "androidx.wear.compose:compose-ui-tooling", version.ref = "composeUiTooling" } | ||
| crossdeviceprompt = { module = "com.google.android.play:crossdeviceprompt", version.ref = "crossdeviceprompt" } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -64,6 +64,8 @@ dependencies { | |
| implementation(libs.androidx.fragment.ktx) | ||
| implementation(libs.androidx.work.runtime.ktx) | ||
| implementation(libs.coil.kt.compose) | ||
| implementation(libs.coil3.compose) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed the library from this module.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please either remove the implementation or add the coil3 import.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed the library from this module. |
||
| implementation(libs.coil3.network.okhttp) | ||
| implementation(libs.androidx.media3.common) | ||
| implementation(libs.androidx.media3.exoplayer) | ||
| implementation(libs.androidx.media3.ui) | ||
|
|
||
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.