diff --git a/sample/build.gradle b/sample/build.gradle index 68890c3..0107386 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -43,7 +43,7 @@ dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" // Images - implementation 'com.squareup.picasso:picasso:2.71828' + implementation 'com.github.bumptech.glide:glide:4.8.0' implementation project(':backdrop') } diff --git a/sample/src/main/kotlin/ru/semper_viventem/backdropview/extensions.kt b/sample/src/main/kotlin/ru/semper_viventem/backdropview/extensions.kt index 39b5833..93c93a2 100644 --- a/sample/src/main/kotlin/ru/semper_viventem/backdropview/extensions.kt +++ b/sample/src/main/kotlin/ru/semper_viventem/backdropview/extensions.kt @@ -8,7 +8,7 @@ import android.view.inputmethod.InputMethodManager import android.widget.ImageView import androidx.annotation.LayoutRes import androidx.coordinatorlayout.widget.CoordinatorLayout -import com.squareup.picasso.Picasso +import com.bumptech.glide.Glide fun ViewGroup.inflate(@LayoutRes layoutRes: Int, attachToRoot: Boolean = false): View { @@ -34,7 +34,7 @@ fun View.showKeyboard(show: Boolean) { fun ImageView.load( url: String? ) { - Picasso.get() + Glide.with(this) .load(url) .into(this) } \ No newline at end of file