After 3 long years, Hilt finally supports ViewModel assisted injection and it's pretty cool 🎉
https://medium.com/proandroiddev/hilt-viewmodels-assisted-injection-aca2d6ee581d
@GoogleDevExpert :androidHead: https://wave.com 🌱 vegan 🧑💻 he/him
After 3 long years, Hilt finally supports ViewModel assisted injection and it's pretty cool 🎉
https://medium.com/proandroiddev/hilt-viewmodels-assisted-injection-aca2d6ee581d
A must watch for anyone working with Compose, by @riggaroo 💯
@kiranrao based on what's written here, it really seems they'll eventually remove all of them.
Really sad to see WebView go as it was pretty great. I'm also confused as to why they're releasing a new WebView feature in the same release they're deprecating it, and why the blogpost has no explicit justification for the WebView in particular 😢
If you're an Android dev jumping into SwiftUI, do yourself a favor and read this great piece by
@filipwiesner 🙌
https://medium.com/mateedevs/fundamental-differences-of-compose-and-swiftui-2dc0cdd0b37
Awesome article by
Rodrigo Dominguez, it'd be fun to see how those same animations would look like with XML views 🫣
Who Fixes The Deprecation Warnings?
I'm always getting confused between remember, derivedStateOf, and both together. This detailed writeup by @saqib helped a lot 🙌
https://proandroiddev.com/deep-dive-into-derivedstateof-and-comparison-with-remember-key-d8469602676
Great article by Aleksander Jaworski explaining very well why you should usually prefer interfaces with platform-specific implementations over expect/actual and how to go about that.
The example in the article still uses expect/actual for providing a way to instantiate the implementations, but that's where I think DI shines and was one of the things we talked about here:
https://androiddev.social/@kaush@hachyderm.io/110458475569566644
@kaush @fragmented @fred Just wanted to say, this was a great episode. I too have some nostalgia for the good ol days of vanilla Dagger.
Can’t say we’re going back to our #androiddev roots without a healthy dose of DI 😊, so this week on @fragmented we talk to @fred about Dependency Injection in a KMP world. (Kotlin-Inject 🤘🏽)
Listen here: https://fragmentedpodcast.com/episodes/246-dependency-injection-kotlin-inject-with-fred-porciuncula/
Thanks again @donnfelker and @kaush! I had a great time talking about my two favorite topics at the moment: DI & KMM 😊
Sharing Kotlin Multiplatform presenters/viewmodels is such an interesting topic and I finally managed to dump my thoughts on it:
https://klima.hashnode.dev/kotlin-multiplatform-presenters-or-viewmodels-the-lean-way
TL;DR: Retained (github.com/marcellogalhardo/retained) is an awesome library and you should check it out!
Big thanks to @leandrofavarin, Mike Scammel and @mg for reviewing the article 💚
The video of my KotlinConf talk "Playing in the Treehouse with Redwood and Zipline" is now available!
Still unsure on what I should try first on the train back to Berlin: iOS Compose or Zipline 🚃
That was an amazing KotlinConf and I can't wait to see how everything moves forward in the next year 🚀
We’re time traveling here at KotlinConf ⏱ I’m impressed with the quality of the talks this year and @kpgalligan talk was no exception 👏👏
@mg made a library called retained https://github.com/marcellogalhardo/retained
It is amazing and you should be using it
Thank you @androidweekly for featuring my latest article on KMM DI with kotlin-inject 😊🙌
So sad to hear about Bob Lee. He was an incredible coworker, leader, and friend. So much of Square and Cash App engineering culture is directly linked to him, and certainly our propensity for using and releasing open source software.