Dagger2 is hard, but it can be easy, part 6
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 qualif...
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 qualif...
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 an...
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 h...
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 ther...
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 ...
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 his...
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 favor...
This is the last blog post of 2020, let’s end it with some Kotlin awesomeness. Higher order functions are powerful and of course (the cliche) with great power comes great responsibility. As the...
If you ever looked at this image and wondered, why this blog post is written when I as a developer was promised a low amount of code needed for view binding to work, well technically that’s true,...
We’ve all came to a decision to go and do something else while waiting for the build.gradle to finish, something like: people get married or divorced, learn to fly a plane, build a rocket ship ou...