Session

None to Manual to Dagger (A DI Journey)

Everyone starts learning dagger from its annotations (e.g. from @Component to @Scope), and finds it difficult to learn. However, we can learn it using an opposite approach and learn it better. This talk is going to discuss about that reverse approach to learn dagger.

Instead of learning what is @Component and how to use it, this talk first goes through something
which doesn't have any DI and then discuss about the ways to inject the dependencies manually. In this
journey of migrating from "No DI" to "Manual DI", we will end up at a place where our codebase looks
somewhat similar to dagger's generated code. Now is the time to replace those with proper dagger annotations and make it a journey from "Manual DI" to "Dagger".

In this journey, we will see a lot of Dagger's generated code first (as if we wrote them ourselves) and
then Dagger's annotations. This will make everyone visualise which Dagger annotation is doing what job and which should be used when.

Target Audience - Beginner

Chandra Sekhar Nayak

Building Android apps for Lowe's

Bengaluru, India

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top