Strong Skipping Mode! 💪
Oof, almost forgot to post it here.
Prepare yourself to the great era of recomposition magic...
From Compose 1.7.x (or later, but at least with stronk skip == true) all composables can skip recomposition, unstable types will be compared by reference (so instance equality) and yet skipped, stable ones will preserve precious behaviour.
Also all the lambdas will be remembered now, even with captured unstable values... because those will be compared by reference too!
No more pathetic manual wrapping like a poor peasant after you encounter unpredictable recomposition again.🤣
Read actual smart wording here:
https://medium.com/androiddevelopers/jetpack-compose-strong-skipping-mode-explained-cbdb2aa4b900
Oof, almost forgot to post it here.
Prepare yourself to the great era of recomposition magic...
From Compose 1.7.x (or later, but at least with stronk skip == true) all composables can skip recomposition, unstable types will be compared by reference (so instance equality) and yet skipped, stable ones will preserve precious behaviour.
Also all the lambdas will be remembered now, even with captured unstable values... because those will be compared by reference too!
No more pathetic manual wrapping like a poor peasant after you encounter unpredictable recomposition again.
Read actual smart wording here:
https://medium.com/androiddevelopers/jetpack-compose-strong-skipping-mode-explained-cbdb2aa4b900
Please open Telegram to view this post
VIEW IN TELEGRAM
Medium
Jetpack Compose: Strong Skipping Mode Explained
Strong skipping mode changes the rules for what composables can skip recomposition and should greatly reduce recomposition.
❤1
senk0n lab
Strong Skipping Mode! 💪 Oof, almost forgot to post it here. Prepare yourself to the great era of recomposition magic... From Compose 1.7.x (or later, but at least with stronk skip == true) all composables can skip recomposition, unstable types will be compared…
Here is an article that represents all of our struggles before this great gift of destiny by google ♡
https://www.costafotiadis.com/post/exercises-in-futility-jetpack-compose-recomposition
huh, part about
until we meet again!
https://www.costafotiadis.com/post/exercises-in-futility-jetpack-compose-recomposition
huh, part about
suspend fun kind of suggests me that those might become skippable with new mode too, but I'm too lazy to check... until we meet again!
Costa Fotiadis
Exercises in futility: Jetpack Compose Recomposition
Compose is fun. The thing is that I get the feeling that there are quite a few “gotchas” when working with it.Here are a few questions that kept bugging me: • Are all functions equal in the eyes of the compiler? • Are suspend functions stable/immutable? •…
20min adventure about Compose principles ground up
by one of google devs
especially good for those who don't want to read the entire internals book
http://intelligiblebabble.com/compose-from-first-principles/
by one of google devs
http://intelligiblebabble.com/compose-from-first-principles/
Intelligiblebabble
Compose From First Principles
Thousands of Developers from around the world attended Google I/O 2019 earlier this month. It was a particularly exciting I/O for me, as it was the fi...
❤1
how am I watching this self-retro-standup by google for the first time??
https://youtu.be/VsStyq4Lzxo
https://youtu.be/VsStyq4Lzxo
YouTube
Declarative UI patterns (Google I/O'19)
Explore how reactive and declarative paradigms can be applied to Android UI development, making it easier for developers to integrate these patterns into their Android apps with Kotlin.
Watch more #io19 here:
Android & Play at Google I/O 2019 Playlist →…
Watch more #io19 here:
Android & Play at Google I/O 2019 Playlist →…
Holly molly Kotlin 2.0.0-RC1 just dropped 👍
list of changes
upd:
- KT-32754 in this release fixes issue described by Jake in recent blog post
list of changes
upd:
- KT-32754 in this release fixes issue described by Jake in recent blog post
Please open Telegram to view this post
VIEW IN TELEGRAM
🎉2
senk0n lab
nice repo that follows architecture guide by google > especially libraries author wrote for that project recommend to familiarize yourself with it
amazing writeup about declarative re-thinking of pagination approach
https://twitter.com/Tunji_D/status/1783913688464036347 (blog)
this guy... outstanding job
https://twitter.com/Tunji_D/status/1783913688464036347 (blog)
this guy... outstanding job
X (formerly Twitter)
Tunji Dahunsi (@Tunji_D) on X
One of my favorite things to do as a developer advocate was exploring ways APIs could be improved, especially for Jetpack Compose.
For the paging library, I wanted it to produce a simple List instead of PagingData. Here are a couple reasons why:
https…
For the paging library, I wanted it to produce a simple List instead of PagingData. Here are a couple reasons why:
https…
senk0n lab
Holly molly Kotlin 2.0.0-RC1 just dropped 👍 list of changes upd: - KT-32754 in this release fixes issue described by Jake in recent blog post
Holly molly Kotlin 2.0.0-RC2 just dropped 👍
The Compose compiler is moving to the Kotlin lang repository!
In combination with Compose Multiplatform 1.6.10-beta03 to support new Compose compiler
[android, jb cmp guide, disc, reasoning]
The Compose compiler is moving to the Kotlin lang repository!
In combination with Compose Multiplatform 1.6.10-beta03 to support new Compose compiler
[android, jb cmp guide, disc, reasoning]
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
X (formerly Twitter)
kevmoo (@kevmoo) on X
@LeighaJarett @Google Hey folks! Kevin, product manager on Flutter and Dart here.
The layoffs were decided AT LEAST a couple of layers above our team and affected a LOT of teams. (I think I can say that). Lots of good folks got bad news and lots of great…
The layoffs were decided AT LEAST a couple of layers above our team and affected a LOT of teams. (I think I can say that). Lots of good folks got bad news and lots of great…
😢1
senk0n lab
Strong Skipping Mode! 💪 Oof, almost forgot to post it here. Prepare yourself to the great era of recomposition magic... From Compose 1.7.x (or later, but at least with stronk skip == true) all composables can skip recomposition, unstable types will be compared…
Strong Skipping Mode is now Stable in Compose Compiler 1.5.13, and soon will become enabled by Default
More value classes for optimization's sake!
A small post about one of the great use-cases for Value Classes in Kotlin, and another good reminder why usage of recommended build configs highly impacts performance in Compose.
fx: Compose uses this technique quite a bit, see: IntSize (two Int's packed in Long), TextUnit (unit type and Float value packed in Long), and Constraints (four values packed in Long, with varying ranges for diff dimensions' precisions). Also Duration from stdlib. (src)
> https://www.romainguy.dev/posts/2024/readability-of-optimized-kotlin-code
A small post about one of the great use-cases for Value Classes in Kotlin, and another good reminder why usage of recommended build configs highly impacts performance in Compose.
fx: Compose uses this technique quite a bit, see: IntSize (two Int's packed in Long), TextUnit (unit type and Float value packed in Long), and Constraints (four values packed in Long, with varying ranges for diff dimensions' precisions). Also Duration from stdlib. (src)
> https://www.romainguy.dev/posts/2024/readability-of-optimized-kotlin-code
Romain Guy
Readability of Optimized Kotlin Code
Leland and I were recently discussing how to best implement a new data structure to speed up a specific aspect of Jetpack Compose. He came up with a great idea, and nerd sniped me in the process. The problem was to efficiently encode the occupancy of an 8x8…
More fresh IDEA base for Android Studio next updates ☺️
https://android-developers.googleblog.com/2024/05/more-frequent-focused-updates-for-android-studio.html
https://android-developers.googleblog.com/2024/05/more-frequent-focused-updates-for-android-studio.html
Please open Telegram to view this post
VIEW IN TELEGRAM
Android Developers Blog
More frequent, focused updates for Android Studio
We're ensuring that important updates to the IntelliJ IDEA platform reach the Android Studio Stable channel more frequently for increased quality.
❤1
finally, docs for prototyping enjoyers
https://developer.android.com/quick-guides
https://developer.android.com/quick-guides
Android Developers
Jetpack Compose | Android Developers
ah yes, io.google
the KMP is now officially approved and supported by Google, so you can easily push with it for the new and migration of the old projects!
and a bunch of ai shit...
the rest can be found on this page
the KMP is now officially approved and supported by Google, so you can easily push with it for the new and migration of the old projects!
the rest can be found on this page
Android Developers Blog
Android Support for Kotlin Multiplatform (KMP) to Share Business Logic Across Mobile, Web, Server, and Desktop
We are supporting Kotlin Multiplatform (KMP) on Android, enabling sharing code across platforms to increase productivity and quality for Android apps.
senk0n lab
More value classes for optimization's sake! A small post about one of the great use-cases for Value Classes in Kotlin, and another good reminder why usage of recommended build configs highly impacts performance in Compose. fx: Compose uses this technique…
aaand a talk on optimizations topic from the same guy
https://youtu.be/5cxw_fdpnoA
his relevant posts: https://romainguy.dev/tags/performance/
https://youtu.be/5cxw_fdpnoA
his relevant posts: https://romainguy.dev/tags/performance/
YouTube
Practical Optimizations
In this session we will look at a series of optimizations that were done in Jetpack Compose to learn about how different types of optimizations can affect performance, including code flow/algorithms, new data structures, low-level bytecode optimizations,…
Google is trying to transfer some potential Flutter devs into Kotlin Multiplatform devs 🧃 🤔 😎
https://developers.googleblog.com/en/making-development-across-platforms-easier-for-developers/
https://developers.googleblog.com/en/making-development-across-platforms-easier-for-developers/
Please open Telegram to view this post
VIEW IN TELEGRAM
Googleblog
Google for Developers Blog - News about Web, Mobile, AI and Cloud
Do what works best for your business; whether you’re sharing both UI and business logic across multiple platforms with Flutter or development with Kotlin Multiplatform.
😢1
senk0n lab
Holly molly Kotlin 2.0.0-RC2 just dropped 👍 The Compose compiler is moving to the Kotlin lang repository! In combination with Compose Multiplatform 1.6.10-beta03 to support new Compose compiler [android, jb cmp guide, disc, reasoning]
Kotlin 2.0.0 just dropped 👍
and Compose Multiplatform 1.6.10 this morning
Compose Compiler now has its own section in the Kotlin changelog❤️
and Compose Multiplatform 1.6.10 this morning
Compose Compiler now has its own section in the Kotlin changelog
Please open Telegram to view this post
VIEW IN TELEGRAM
whoa, Compose Web in Kotlin Playground
https://vxtwitter.com/MohamadRejeb/status/1798290562958651401
test: https://pl.kotl.in/4cyGYQ_jG
https://vxtwitter.com/MohamadRejeb/status/1798290562958651401
test: https://pl.kotl.in/4cyGYQ_jG
vxTwitter / fixvx
Mohamed Rejeb (@MohamadRejeb)
Good news for Compose folks! A prototype solution for running Compose Web on Kotlin Playground is available via this link: https://pl.kotl.in/4cyGYQ_jG
It is taking forever to compile 🐌 but it's a good step…
💖 133 🔁 24
It is taking forever to compile 🐌 but it's a good step…
💖 133 🔁 24