Mukesh Rajputrajputmukesh748.hashnode.dev·May 8, 2024Hilt: Simplifying Dependency Injection in AndroidDependency injection (DI) offers a structured approach to provide objects to classes without directly creating them. Hilt, an extension library built on top of Dagger, streamlines DI by automating boilerplate code and integrating seamlessly with Jetp...Discusshilt
Mayursinh Parmarmayursinhdevblog.hashnode.dev·Mar 26, 2024Topic: 10 Understanding Dependency InjectionHello devs, Today, we'll discuss Dependency Injection. Many tasks that we typically write manually in code can be automated with the help of dependency injection. We simply need to instruct the DI framework about the dependencies we require and how t...DiscussAndroid basic to advanceAndroid
sandhya bhatsandhyabhat.hashnode.dev·Mar 18, 2024Dependency Injection and Dagger Hilt for Android AppsWhat is Dependency Injection? It is a common programming need that classes reference/ inherit from other classes. Dependency Injection is one of the ways through which a class can take reference of another class. Why do we need DI? DI approach helps ...DiscussAndroid
Joe Roskopfblog.joetr.com·Mar 2, 2024Dagger SPI - Adding Custom Graph Validation (with KSP and tests!)From the Dagger site: The Dagger Service Provider Interface (SPI) is a mechanism to hook into Dagger’s annotation processor and access the same binding graph model that Dagger uses. With the SPI, you can write a plugin that adds project-specific err...Discuss·130 readsdagger spi
Satyam Sawstymsaw.hashnode.dev·Jan 23, 2024Demystifying Dependency Injection: AndroidWelcome back to our journey into the world of Dependency Injection (DI) in Android app development! In this installment, we'll explore specific use cases and scenarios where employing DI can significantly enhance your app's architecture and functiona...Discuss·101 readsAndroid Technical BlogsAndroid
Pierre-Yves Ricaublog.p-y.wtf·Jan 18, 2024DIY: your own Dependency Injection library!Dependency Injection libraries are powerful tools, but they're often also intimidating & confusing. When that happens to me, I find that understanding how a tool works helps me get over the initial scare of the dark magic internals. In this article, ...Discuss·5 likes·7.3K readsdependency injection
Satyam Sawstymsaw.hashnode.dev·Jan 16, 2024Demystifying Dependency Injection: AndroidIn the world of making Android apps, Dependency Injection (DI) is like a helpful tool that makes things easier. It's a way of organizing the code that helps developers manage their work better. In this beginner-friendly blog, let's talk about Depende...Discuss·148 readsAndroid Technical BlogsAndroid
Vincent Tsenvtsen.hashnode.dev·Jan 3, 2024Convert KAPT to KSP - Room and Hilt ExamplesKAPT stands for Kotlin Annotation Processing Tool and KSP stands for Kotlin Symbol Processing. Both are annotation-processing tools that are used for code generation. KAPT is the old way which is Java-based and KSP is the new way which is Kotlin-base...Discuss·1.2K readsAndroid App DevAndroid
Etugbo Judithjudy.hashnode.dev·Dec 22, 2023Unsupported Metadata Version: Hilt Dependency ErrorPhoto Credit by medium.com/@alik.rafi7 I encountered this error while I was working with hilt dependencies in my Android project error: [Hilt] 91 Unsupported metadata version. Check that your Kotlin version is >= 1.0: java.lang.IllegalStateExceptio...Discuss·2 likes·402 readsdagger-hilt
Emran Khandaker Evanblog.evanemran.info·Oct 22, 2023Exploring Dependency Injection in Android with Dagger 2Dependency Injection (DI) is a crucial concept in software development that aids in achieving better code maintainability, testability, and scalability. When it comes to Android app development, Dagger 2 is a popular framework used to implement DI ef...Discuss·86 readsAndroidAndroid