shakedown.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A community for live music fans with roots in the jam scene. Shakedown Social is run by a team of volunteers (led by @clifff and @sethadam1) and funded by donations.

Administered by:

Server stats:

271
active users

#JetpackCompose

0 posts0 participants0 posts today
Shreyas Patil :verified:<p>Published "Exploring PausableComposition internals in Jetpack Compose" 🚀. You might have heard that the latest version of <a href="https://androiddev.social/tags/Jetpack" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Jetpack</span></a> <a href="https://androiddev.social/tags/Compose" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Compose</span></a> has improved performance significantly. You know the reason? There's a usage of new under the hood API - `PausableComposition`. Know how it works under the hood for making buttery smooth experience in compose 🫠</p><p>🔗: <a href="https://blog.shreyaspatil.dev/exploring-pausablecomposition-internals-in-jetpack-compose" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.shreyaspatil.dev/explorin</span><span class="invisible">g-pausablecomposition-internals-in-jetpack-compose</span></a></p><p><a href="https://androiddev.social/tags/androiddev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>androiddev</span></a> <a href="https://androiddev.social/tags/jetpackcompose" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jetpackcompose</span></a> <a href="https://androiddev.social/tags/kotlin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>kotlin</span></a> <a href="https://androiddev.social/tags/android" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>android</span></a> <a href="https://androiddev.social/tags/androiddevelopers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>androiddevelopers</span></a> <a href="https://androiddev.social/tags/kmp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>kmp</span></a> <a href="https://androiddev.social/tags/cmp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cmp</span></a></p>
skip.tools<p>Tip: any Swift code in SKIP blocks can interact directly with Kotlin, including <a href="https://mas.to/tags/JetpackCompose" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JetpackCompose</span></a>. We transparently transpile SKIP code to Kotlin, then bridge it back to your native Swift. Here a user integrates custom Compose into his <a href="https://mas.to/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a> using a ComposeView <a href="https://mas.to/tags/SwiftForAndroid" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftForAndroid</span></a></p>

Do any of you who work in large codebases have something like this?

I've been seeing people drop down into BoxWithConstraints to do centering math and I suspect it's because Compose's centering idiom is so hard to discover.

gist.github.com/zach-klippenst

GistSome fake modifiers to teach Compose's centering idiom.Some fake modifiers to teach Compose's centering idiom. - CenterModifier.kt

At this years company #hackathon our project team created a proof of concept #KotlinMultiplatform and #ComposeMultiplatform app for #Android, #iOS & desktop with a single code base for data layer, business logic and UI, well, for everything!

Within three days we were able to create a simple but functional application from scratch that accesses a #Firebase backend.

Still some rough edges on iOS but the future is bright for Kotlin Multiplatform!

I'm really excited to use #JetpackCompose on my next project, does anyone have any "wow, when I learned this, it made such a difference" advice? I've been going through the Google pathways on it and so far I'm most excited about dropping list adapters/recycler views.