Have you ever witnessed unnecessary recompositions like this with LazyColumn or LazyRow? And then you don't have a clue why it's happening? 🤔
Here's a new blog I just published with explanation and solution😉
📃Read now: blog.shreyaspatil.dev/solving-the-my…#androiddev#jetpackcompose
lateinit var and val by lazy{} are both used to handle late initialization in Kotlin.
The key difference is in the way they behave: one throws an exception if not initialized before use, while the other initializes on first use.
All ViewModel APIs in one place! 🥹
There are multiple ways to obtain a ViewModel and you should choose one depending on the libraries that you use. To help you figure it out, we just released a new cheat sheet! 👌
Hope you find it useful 🙌
developer.android.com/topic/librarie…
In #Kotlin 1.9, instead of using the "until" infix function to create a range that's exclusive on its upper bound, you can use the new open-ended range operator... or as I like to call it, the alligator operator.
4K Followers 3K FollowingEngage and connect with the global Android community and learn all the latest news from top global speakers 👨🏻💻
🔴 📺 https://t.co/ybTQrlmaJO
84 Followers 110 FollowingI create and destroy bugs, sometimes i use mouse to draw rectangle on screen. Android | Kotlin | Java | Illustrator | Adobe XD
2K Followers 2K FollowingSoftware engineer, a technical blog about #Architecture #iOS #Android #Angular. Author of "The Clean Way to Use Rx": https://t.co/V1AW7yQvby
937 Followers 5K FollowingZABAD(Rad/17)(pound water)In Zabad, Allah produced the microorganisms viruses, bacteria, protozoa parasites, etc, they grow at living things and decompose them.
614 Followers 4K FollowingConcise #ebook getting you started with #Kotlin development within just a few afternoons or subway rides.
Written by @schleinzer_com
#dev #java #learnkotlin
3K Followers 1 Following⌘ Langbase — Serverless AI Developers Cloud for building AI products like AI agents with memory (RAG). Billion tokens/day scale. Creators of https://t.co/ftOtI3QZrI
1.4M Followers 1K FollowingBuilding @EurekaLabsAI. Previously Director of AI @ Tesla, founding team @ OpenAI, CS231n/PhD @ Stanford. I like to train large deep neural nets.
47K Followers 2K FollowingCEO ⌘ https://t.co/0FoTePtQej at @LangbaseInc
❯ @Google Devs Advisory Board
❯ Award-winning @GitHub Star // Ex VP DX
❯ Quoted by @SatyaNadella "awesome example for devs"
4K Followers 3K FollowingEngage and connect with the global Android community and learn all the latest news from top global speakers 👨🏻💻
🔴 📺 https://t.co/ybTQrlmaJO
1K Followers 198 FollowingAuthor of a "Kotlin Design Patterns" book (https://t.co/d4p4sSShwR) and "Pragmatic System Design" course (https://t.co/7hvLxcWWDd)
2K Followers 484 FollowingBuilding theCodeCartel🎥, working | I make things that run on your device; you might be using one now | Full Stack App Dev - Django + Android
21K Followers 83 FollowingVerify socials: https://t.co/TwkU1dBDam
For Tech related content, backup: @xdevnotes
the main account techdevnotes is hacked, so please be safe
89K Followers 85 FollowingThe official IDE for Android application development. Explore the latest stable and canary releases → https://t.co/dBSe3faZtU
2K Followers 376 FollowingI work for JetBrains on Compose Multiplatform. Worked for Huawei on VMs, compilers and new languages. I was an initiator of Excelsior JET. Opinions are my own