Tag: Dependency Injection

  • Assisted Injection using Hilt (Hilt Part 5)

    Assisted Injection using Hilt (Hilt Part 5)

    Explore how to wield Assisted Injection for custom classes, shedding light on the techniques to effortlessly manage dependencies within your app’s architecture. Also, venture into the world of WorkerManager, unraveling the mysteries of achieving seamless assisted injection within the Android work environment.

  • Injecting dependencies in classes not supported by Hilt (Hilt Part 4)

    Injecting dependencies in classes not supported by Hilt (Hilt Part 4)

    Injecting dependencies into classes not directly supported by Hilt is a crucial skill for Android developers. In this blog, I demystify this process through two practical examples. First, we delve into injecting dependencies into an Adapter, a common challenge in Android app development. Next, we explore how to achieve the same in a custom class,…

  • Hilt Component classes and their scopes (Hilt Part 3)

    Hilt Component classes and their scopes (Hilt Part 3)

    Explore the intricate world of Hilt’s Component Classes and Scopes in our latest blog. 🏗️ Delve into the architecture that drives dependency injection, understanding how these components organize your app’s structure. 📊 Discover the scope of each component, from singleton to custom scopes, and learn how they govern the lifecycle of your app’s objects. 🔄

  • Use of Binds and Provides in Hilt (Hilt Part 2)

    Use of Binds and Provides in Hilt (Hilt Part 2)

    🔗 Dive into the world of dependency injection with this blog, unlocking the art of using ‘binds’ and ‘provides’ in Hilt. 🛠️ Discover the strategic nuances of when to harness each approach, ensuring optimized dependency management. 🎯 And that’s not all – uncover the power of qualifiers in dependency injection, streamlining precision in your codebase.…

  • Basics of Dependency Injection in Android using Hilt (Hilt Part 1)

    Basics of Dependency Injection in Android using Hilt (Hilt Part 1)

    Explore the world of dependency injection in this blog as we delve into its definition, types, and the process of setting up Hilt in Android. Discover how to seamlessly implement Hilt into your Android application code for enhanced efficiency and maintainability.