Dependency Injection in Android with Dagger 2
- 2.5 hours on-demand video
- Full lifetime access
- Access on mobile and TV
- Certificate of Completion
- 1 Downloadable resource
Get your team access to Udemy's top 2,500+ courses anytime, anywhere.
Try Udemy for Business- Discover the full power of Dependency Injection architectural pattern
-
Integrate Dagger 2 into your Android applications
-
Structure Dependency Injection in Android apps for best long-term maintainability
- Understand the fundamental principles of proper Dependency Injection
- Learn why you need dependency injection frameworks
- Implement Pure Dependency Injection without any third-party frameworks
Dependency Injection Architectural Pattern
Journey To Dependency Injection
- Hands-on experience with Android development (preferably 6 months or more)
- Knowledge of Java
- A desire to write clean and maintainable code
Many professional Android developers use Dagger 2 dependency injection framework to build clean and maintainable Android applications. Unfortunately, even though dependency injection is one of the most fundamental and beneficial architectural patterns in object-oriented design, it isn't used nearly enough in Android world.
In my opinion, the main reason for underemployment of Dependency Injection in general and Dagger 2 specifically in Android apps is that neither of them is simple to learn and understand without high quality tutorials, which are very rare.
After completing this course you'll know what dependency injection is and how to use Dagger 2 dependency injection framework. You'll understand that dependency injection is not about frameworks, annotations, reflection or code generation, but about the fundamental design and architecture of your Android apps.
You'll realize that dependency injection is not black magic and that all real-world Android applications, even the simplest ones, can benefit from it.
Even though the end goal of this course is to teach you Dagger 2, I will also show you how to implement so-called Pure Dependency Injection in Android without using any third-party libraries at all. This will allow you to understand and appreciate the role of dependency injection frameworks in the grand scheme of things.
Professional grade
From fundamentals to best practices
Optimized for experienced Android developers
Non-trivial examples
Concise
Source code on GitHub with step-by-step commits history for easier review
Just like any other tool, dependency injection frameworks can be very helpful in Android development, or be misused. Therefore, while there are many alternative ways to use Dagger 2 in your applications, not all of them are equally good.
This course will spare you lots of time because you'll learn to use Dagger 2 in Android applications to achieve the best structure optimized for long term maintainability. I've been using this approach in all my personal and professional projects during the last couple of years, and I can attest first hand that it produces outstanding results.
So, if you want to learn what dependency injection is and how to use Dagger 2 to develop clean and maintainable Android applications - this course is for you.
I can’t wait to see you inside.
- Professional Android developers