image: use asdeferred

Use asDeferred with the ExoPlayer image parser.

This is much better compared to using withContext.
This commit is contained in:
Alexander Capehart
2023-03-19 16:19:29 -06:00
parent eddba44819
commit abeac90735
2 changed files with 7 additions and 24 deletions
+2 -1
View File
@@ -75,7 +75,8 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4'
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-guava:1.6.4"
// --- SUPPORT ---