5min chapter

Fragmented - Android Developer Podcast cover image

246 - Dependency Injection: Kotlin Inject with Fred Porciúncula

Fragmented - Android Developer Podcast

CHAPTER

How I Found Kotlin-Jack

In Kotlin-Jack, you can use dependency injection instead of expect actuals. It's like a lighter way to solve this issue. And it's just easier as well. That's something that the people from touch lab touch pun not intended on this topic. JetBrains had a great series of videos about using DI in KMP. They basically said if you are using DI and you avoid using expecting actuals actually, it's better if you have an interface instead of an expect class.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode