Jonas Kalderstam

Results 192 comments of Jonas Kalderstam

Regarding 1. you could also just have a `data` branch in this repo. The branch does not need to share history with the development branch. Carrying over the relevant commit...

Same issue in Coil 2.2.0 when trying to load this image (on an Android Emulator): http://www.corsix.org/images/495f98eb0abe80037a8bfb0b3dfb943df9e04495.svg Note that the image is only 14kb but coil is attempting to decode a...

Adding a simple try-catch ensures the app doesn't crash ```diff diff --git i/coil-compose-base/src/main/java/coil/compose/AsyncImagePainter.kt w/coil-compose-base/src/main/java/coil/compose/AsyncImagePainter.kt index 237b82da..67674e5d 100644 --- i/coil-compose-base/src/main/java/coil/compose/AsyncImagePainter.kt +++ w/coil-compose-base/src/main/java/coil/compose/AsyncImagePainter.kt @@ -3,6 +3,7 @@ package coil.compose import android.graphics.drawable.BitmapDrawable import...

> @spacecowboy Your image is being decoded at a very large size, which is why it's throwing when it's drawn. We do want to throw the exception in this case...

> @spacecowboy It is possible to catch the error. If you want different behaviour you can use a custom `ImageView` that wraps `super.onDraw(canvas)` to catch + ignore this exception. For...

> @spacecowboy It is possible to catch the error. If you want different behaviour you can use a custom `ImageView` that wraps `super.onDraw(canvas)` to catch + ignore this exception. For...

> @spacecowboy I'd create a custom Coil interceptor that throws if the drawable is too large. That has the benefit of triggering `onError` + the associated behaviour as well. Anything...

current heart rate is a bit misleading. it is the "lap heart rate". so average during the latest 1 km intervall

the implementation matches the behavior for lap pace. the voice announcements are currently hard coded to per kilometer / per mile statistics. it would be up to @dennisguse if this...

This the interceptor I ended up using ```kotlin /** * Ensures an error is returned instead of rendering images that are likely to trigger memory errors * onDraw - but...