Hilt to the rescue, part 2
In the previous post Part #1, we’ve explored how to set up Hilt, the pre-defined components that come with it and migrated to Hilt from our Dagger sample. In this blog post we’ll explore how to ha...
In the previous post Part #1, we’ve explored how to set up Hilt, the pre-defined components that come with it and migrated to Hilt from our Dagger sample. In this blog post we’ll explore how to ha...
Hilt is a dependency injection library for Android that reduces the boilerplate of doing manual dependency injection in your project, it also means that Hilt is just an abstraction on top of Dagger...
In the previous post we’ve encountered when’s the right place to inject, named and qualifiers. In this post we’ll learn about multi bindings and their power. They’re your best buddies in the Dagg...
In the previous post we’ve encountered subcomponents and their hierarchy, custom scopes and we did not waste any time. In this post we’ll learn when’s the right place to inject, named and qualifie...
In the previous post we’ve explored scope operators. In this post we’ll encounter subcomponents and their hierarchy, custom scopes and let’s not waste any time. Starting off by including the andr...
In the previous post we’ve encountered method injection and learnt about the order of injection. Today we’ll explore @Singleton, remember that @Singleton is a scope operator. From the docs we hav...
In the previous post we’ve seen simpler form of injection with Dagger, but we haven’t talked about the types of injection that Dagger2 has to offer. So far we’ve seen variable injection but there ...
We’re here again telling ourselves that Dagger2 is easy, as we’ve seen in the first part. To demystify some myths about Dagger2 we’ll see it’s simplicity in the smallest blog post so far. From th...
One day you decided to use Dagger2 and then you were lost, don’t worry, most of us were already there, Dagger2 is easy, you’ll see, it’s literally one interface, let’s start. A little bit of histo...
This is a continuation of the previous blog post. As promised this is the blog post where we’ll talk more about the mysterious inline, crossinline and not so confusing noinline and my most favorit...