Issue with coil 3
This commit is contained in:
parent
5b890d495f
commit
0285deb62e
2 changed files with 6 additions and 6 deletions
|
@ -23,6 +23,7 @@ import androidx.compose.foundation.lazy.staggeredgrid.LazyVerticalStaggeredGrid
|
|||
import androidx.compose.foundation.lazy.staggeredgrid.StaggeredGridCells
|
||||
import androidx.compose.material3.Card
|
||||
import androidx.compose.material3.CardElevation
|
||||
import androidx.compose.material3.CircularProgressIndicator
|
||||
import androidx.compose.material3.Text
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.collectAsState
|
||||
|
@ -35,9 +36,8 @@ import androidx.compose.ui.graphics.RectangleShape
|
|||
import androidx.compose.ui.layout.ContentScale
|
||||
import androidx.compose.ui.platform.LocalContext
|
||||
import androidx.compose.ui.unit.dp
|
||||
import coil3.compose.AsyncImage
|
||||
import coil3.request.ImageRequest
|
||||
import coil3.request.crossfade
|
||||
import coil.compose.AsyncImage
|
||||
import coil.request.ImageRequest
|
||||
|
||||
@Composable
|
||||
fun HomeScreen(viewModel: HomeViewModel) {
|
||||
|
|
|
@ -11,7 +11,7 @@ activityCompose = "1.10.1"
|
|||
composeBom = "2025.03.00"
|
||||
navigation = "2.8.9"
|
||||
kotlinxSerializationJson = "1.8.0"
|
||||
coil = "3.1.0"
|
||||
coil = "2.5.0"
|
||||
okhttp = "4.12.0"
|
||||
retrofit = "1.0.0"
|
||||
retrofit2 = "2.11.0"
|
||||
|
@ -35,8 +35,8 @@ androidx-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit
|
|||
androidx-material3 = { group = "androidx.compose.material3", name = "material3" }
|
||||
androidx-navigation-compose = { group = "androidx.navigation", name = "navigation-compose", version.ref = "navigation" }
|
||||
kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "kotlinxSerializationJson" }
|
||||
coil-kt = { group = "io.coil-kt.coil3", name = "coil", version.ref = "coil" }
|
||||
coil-kt-compose = { group = "io.coil-kt.coil3", name = "coil-compose", version.ref = "coil" }
|
||||
coil-kt = { group = "io.coil-kt", name = "coil", version.ref = "coil" }
|
||||
coil-kt-compose = { group = "io.coil-kt", name = "coil-compose", version.ref = "coil" }
|
||||
okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp" }
|
||||
retrofit2-retrofit = { group = "com.squareup.retrofit2", name = "retrofit", version.ref = "retrofit2" }
|
||||
retrofit-retrofit2-kotlinx-serialization-converter = { group = "com.jakewharton.retrofit", name = "retrofit2-kotlinx-serialization-converter", version.ref = "retrofit" }
|
||||
|
|
Loading…
Add table
Reference in a new issue