Update dependencies

This commit is contained in:
Matthieu 2023-12-21 13:52:51 +01:00
parent 3fdb7762b6
commit 4008d2a2fc
2 changed files with 6 additions and 6 deletions

View File

@ -197,7 +197,7 @@ dependencies {
implementation project(path: ':scrambler') implementation project(path: ':scrambler')
implementation project(path: ':pixel_common') implementation project(path: ':pixel_common')
implementation('com.github.bumptech.glide:glide:4.14.2') { implementation('com.github.bumptech.glide:glide:4.16.0') {
exclude group: "com.android.support" exclude group: "com.android.support"
} }
@ -206,7 +206,7 @@ dependencies {
// Excludes the support library because it's already included by Glide. // Excludes the support library because it's already included by Glide.
transitive = false transitive = false
} }
implementation 'com.github.bumptech.glide:annotations:4.14.2' implementation 'com.github.bumptech.glide:annotations:4.16.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.14.2' annotationProcessor 'com.github.bumptech.glide:compiler:4.14.2'
ksp 'com.github.bumptech.glide:ksp:4.14.2' ksp 'com.github.bumptech.glide:ksp:4.14.2'

View File

@ -105,15 +105,15 @@ class StoriesActivity: BaseActivity() {
override fun onLoadFailed( override fun onLoadFailed(
e: GlideException?, e: GlideException?,
model: Any?, model: Any?,
target: Target<Drawable>?, target: Target<Drawable>,
isFirstResource: Boolean, isFirstResource: Boolean,
): Boolean = false ): Boolean = false
override fun onResourceReady( override fun onResourceReady(
resource: Drawable?, resource: Drawable,
m: Any?, model: Any,
target: Target<Drawable>?, target: Target<Drawable>?,
dataSource: DataSource?, dataSource: DataSource,
isFirstResource: Boolean, isFirstResource: Boolean,
): Boolean { ): Boolean {
Glide.with(binding.storyImage) Glide.with(binding.storyImage)