Here's a sneak preview of something that I've been working on in Haze...
✨ Progressive Blur ✨
I'm still working out the kinks (and an API), but as a proof of concept I think it works really well. Hoping to get it in for the next release.
Haze 0.9.0-beta04 has been released!
Progressive (gradient) blurring and new styling APIs. Nearly there for final release, just got some performance work to do.
github.com/chrisbanes/haz…
Haze 1.0 💠 has been released!
This is a big release, not only because of the version number, but also because of the amount of changes since the latest stable release.
You can read more below:
chrisbanes.me/posts/haze-1.0/
Haze 1.1 💠 has been released!
The main change is the new 'Input Scale' parameter, which allows you to set an optional (down)scaling mode. This should have a positive effect on performance when enabled.
github.com/chrisbanes/haz…
Here's the slides from a talk I gave at work about Haze.
There's no recording or anything, but the slides should hopefully be self-explanatory
chrisbanes.me/talks/haze-tec…
💠 Here's a sneak preview of something that I've been working on in Haze: overlapping areas
With this you'll be able to implement those classic glassy card effects. I still need to run the performance benchmarks, but it seems to be working nicely...
🔗: github.com/chrisbanes/haz…
I'm thinking about renaming the modifiers in Haze but not quite sure what to use.
If you want to help, you can comment here:
github.com/chrisbanes/haz…
It’s all about the screenshot tests.
With a graphics effect library, it’s so easy to cause visual regressions. Screenshot tests give immediate feedback so I spend less time developing.
The Robolectric folks have done an amazing job with RNG. It even runs custom runtime shaders!
🚀 Should you use Kotlin Sequences for Performance?
I have always thought that using asSequence() was the way to optimize chained operations in Kotlin.
But after benchmarking, the results shocked me: Sequences are often slower! 😅
#Kotlin #AndroidDev
chrisbanes.me/posts/use-sequ…
🪢 Multiplatform Strings
This blog post talks through a solution which we've landed on, using a single file as the source of truth for all strings, across all of our apps.
chrisbanes.me/posts/multipla…
💠 Haze 1.6.0-beta01 has been released!
🐛: Android 12 is now enabled by default
🤖: Experimental blurring support for all Android versions
The video below is recorded on a Pixel 3 running Android 11, but it works back to Android 5.
🔗: github.com/chrisbanes/haz…
💠 Haze 1.6.0 has been released!
This is a big release:
🤖 Blurring for all versions of Android
🎨 Foreground (content) blurring
📐 Blurred edge treatment
🔗: github.com/chrisbanes/haz…