Home
FunkyMuse
Cancel

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

Optimize the build speed for your Android project

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