Sign in Go Pro

Dagger 2

Managing Scope Lifecycle

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson
Autoplay

Up next

Previous

About

In this Lesson you will learn:

  • How to manage a Dagger 2 Scope Lifecycle
  • How to identify different Dagger 2 instances when injected by memory address
  • How to create multiple scopes in the same application
  • How an application scoped object (Singleton) is the same instance across various sub components (child scopes)

Links
- Dagger 2 Documentation

Comments

There are a bunch of Dagger 2 scope definitions/tutorials/videos and whatnot. But the way you explained it, clean and short, really nice. Tnx

Can you share some posts or documentation about creating and releasing the components (I was thinking that based on the Scope tag dagger releases the references but it does not do that automatically...) ?

>
You need to go PRO to post comments.

Lessons in Dagger 2