Dependency Injection in Android using Kodein
Injecting Fragments
Autoplay
Up next
Previous
About
We've got two activities with their corresponding Activity scopes in place, both depending on the Application one. Ideally we would probably want to have also Fragment scopes, in an outer layer of our dependency graph. On this lesson, we will learn to:
- Add a new Fragment to our app.
- Add a Fragment scope to our app.
- Inject dependencies using the Fragment scope.
Instructor
Links
Comments
Lessons in Dependency Injection in Android using Kodein
1. What's Kodein
01:53
2. First Steps

01:58
3. The Application Scope

01:56
4. Your first Injection

02:31
5. Lazy Injections

Pro
01:35
6. Scoped Injection: Activity Scope

Pro
03:54
7. Injecting dependencies on the Activity Scope

Pro
03:19
8. Transitive Dependencies

Pro
03:46
9. Injecting Singletons

Pro
03:46
10. Tagged injections

Pro
02:46
11. Constant Injection

Pro
02:55
12. Adding a Detail Activity

Pro
04:24
13. Injecting Navigation

Pro
03:51
14. Injecting Fragments

Pro
02:46
15. Injecting CustomViews

Pro
02:55
16. Testing your architecture (mock injection)

Pro
04:59
17. Injecting Mocks on your UI tests

Pro
04:47

Something went wrong
Lesson added to playlist
Create new playlist
Name can't be empty