Skip to content

Commit 287c34e

Browse files
committed
Bump
1 parent fcd6c24 commit 287c34e

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

app/src/main/java/com/awxkee/avif/coil/MainActivity.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import coil3.load
1010
import coil3.request.bitmapConfig
1111
import coil3.util.DebugLogger
1212
import com.awxkee.avif.coil.databinding.ActivityMainBinding
13-
import com.github.awxkee.avifcoil.decoder.animation.AnimatedAvifDecoder
13+
import com.github.awxkee.avifcoil.decoder.HeifDecoder
1414

1515
class MainActivity : AppCompatActivity() {
1616

@@ -23,14 +23,14 @@ class MainActivity : AppCompatActivity() {
2323

2424
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
2525
binding.imageView.load(
26-
data = "file:///android_asset/output.avif".toUri(),
26+
data = "file:///android_asset/test_alpha.avif".toUri(),
2727
imageLoader = imageLoader
2828
.newBuilder()
2929
.logger(DebugLogger())
3030
.components {
31-
add(AnimatedAvifDecoder.Factory(preheatFrames = 10))
31+
add(HeifDecoder.Factory())
3232
}
33-
.bitmapConfig(Bitmap.Config.ARGB_8888)
33+
.bitmapConfig(Bitmap.Config.RGBA_1010102)
3434
.build()
3535
)
3636
}

avifcoillibrary/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,5 @@ dependencies {
6464
androidTestImplementation("androidx.test.ext:junit:1.1.5")
6565
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
6666
api("io.coil-kt.coil3:coil:3.0.3")
67-
api("com.github.awxkee:avif-coder:2.0.10")
67+
api("com.github.awxkee:avif-coder:2.1.0")
6868
}

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
plugins {
3-
id("com.android.application") version "8.7.2" apply false
3+
id("com.android.application") version "8.7.3" apply false
44
id("org.jetbrains.kotlin.android") version "1.9.0" apply false
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Sun Sep 17 23:53:38 MYT 2023
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)