Home
FunkyMuse
Cancel

Dagger2 is hard, but it can be easy, part 7

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 Da...

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...

Dagger2 is hard, but it can be easy, part 5

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...

Dagger2 is hard, but it can be easy, part 4

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...

Dagger2 is hard, but it can be easy, part 3

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...

Dagger2 is hard, but it can be easy, part 2

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 ...

Dagger2 is hard, but it can be easy, part 1

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...

Reified, crossinline, noinline and inline everything?

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...

Higher order functions, how, why and what not to do.

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...

View binding for the lazy

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,...