Backend(Ktor)-KMP(IOS-Android-Desktop)
KMP Server Driven UI Example.
Changes made in the admin panel can be easily tracked on a platform-specific or collective basis.
#JetpackCompose #KotlinMultiplatform #androiddevs
I'm creating cohort based courses on #AndroidDev #JetpackCompose and #Kotlin #Multiplatform
While I'm finishing up the course outlines, and pricing, I'd like to measure the interest.
Please join this waitlist if you're interested in learning with me.
https://forms.gle/zzJ2JyFpdZ8o14Yv5
#AndroidDev #JetpackCompose #kotlin #multiplatform
This is already a quite long thread but it seems I might have stumbled upon a #Compose compiler bug and my usage of `rememberUpdatedState` would actually not be required if the compiler worked as expected.
#compose #AndroidDev #JetpackCompose
The correct usage of rememberUpatedState() is still something that puzzles me during #JetpackCompose development from time to time.
For instance if you reference a ViewModel in a lambda that itself is part of a state, like in rememberModalBottomSheetState(), you will get undefined and very weird Compose behaviour.
Took me a few hours to find out that I forgot to use rememberUpdatedState() on the VM reference 🤦♂️
#JetpackCompose #AndroidDev #android
Submitted chapter 12 of my #JetpackCompose book to the publisher. The writing is done. I've been doing this stuff (writing in general, not this book 🤣) for freakin' 17 years, but the excitement, relief, gratitude, anxiety (what will you all think) is as big as with the first one
Hey, I just released jetc.dev Newsletter Issue #179! Compose Compiler 1.5.2! Compose and Wear Compose alphas! Capture composables to bitmaps! Testing! Recomposition! Compose Multiplatform! And... Accompanist is downsizing?!? https://jetc.dev/issues/179 #JetpackCompose
Latest App has collapsed under it's own weight (and the weight of my ignorance).
Can't embed 2 objects of the same type.
Can't get new data to display in the right place.
Might just roll it all back and focus on UI parts.
As usual, I still can't figure this code!
I tried writing my own system, then found that ExposedDropDown exists.
But can't find examples of what I want to do.
Has anyone seen "Choose from List, or type New entry" ?
#kotlin #jetpackCompose
In a break from failing to write database code, today I have been failing to write drop-down menu code!
I did have some working, but the new version doesn't show the menu!
#kotlin #jetpackCompose
Want to meet other #AndroidDev? Or just learn more about what people like are doing these days with #KMP or #JetpackCompose? Join us on Wednesday at
TomTom Berlin office!
Register here for free! 👇📷👇
https://www.meetup.com/berlindroid/events/289853455/
#AndroidDev #kmp #JetpackCompose
Jetpack Compose Tip:
Make use of the "ContentAlpha" object to easily access default alpha levels for Material components. It includes:
• high (text in a selected TextField)
• medium (placeholder text)
• disabled (disabled components)
Tomorrow marks an early start of the weekend for me: doing the last chapter of the #JetpackCompose book. Unlike the 11th chapter this one isn't entirely new, but I'll be thoroughly revising it and adding a bunch of new topics. And we no longer say Kotlin Multiplatform Mobile 😂
Was it ever difficult for you to part ways with the projects you worked on?
For the last almost 2 months I worked on a @snappmobile client's temporary project based on creating design system components with #JetpackCompose.
Unfortunately, the project was completed today and it is very difficult for me to part ways with it, because I really loved this project. 💔 😔
Want to create a Bitmap from your Composable? We've added new functionality to Compose to be able to redirect rendering into android.graphics.Picture, which can then be used to create a Bitmap and share it ✨
https://developer.android.com/jetpack/compose/graphics/draw/modifiers#composable-to-bitmap
For more information on easing, I wrote an article a while back about what it means and how to use it!
https://medium.com/androiddevelopers/easing-in-to-easing-curves-in-jetpack-compose-d72893eeeb4d
We've just landed `PathEasing` in Compose (akin to PathInterpolator), which allows you to create custom paths for animations..
For example, Material 3 Spec (https://m3.material.io/styles/motion/easing-and-duration/applying-easing-and-duration) defines an Emphasized spec that has a custom path made up of two bezier curves.. This is now possible by passing a `Path` to `PathEasing` 🎢
https://android-review.googlesource.com/c/platform/frameworks/support/+/2706733
Hey, I just pushed the button on jetc.dev Newsletter Issue #178! Results via Navigation for Compose! @katie on conditional modifiers! K2 compiler and Compose Multiplatform! Accessibility and graphs! Drag-and-drop! And pull-to-refresh... without Compose Material?!? https://jetc.dev/issues/178 #JetpackCompose
You know I still have much ❤️ for the Desktop. So I try to advocate related topics. Today I submitted a talk for #JavaLand 2024 which would detail #JetpackCompose #Java #Swing interop, and, obviously, Compose Multiplatform. No idea if they're interested 😂 Keeping fingers crossed
#JavaLand #JetpackCompose #java #swing
New guide just dropped 🫳🎤
We've released a new quick guide to common animations in #JetpackCompose
This should (hopefully) help you quickly understand some of the APIs available to you to make pretty animations 🧞
https://developer.android.com/jetpack/compose/animation/quick-guide