Skip to content
Stéphane Nicolas edited this page Nov 24, 2019 · 32 revisions

If you were already using TP 2, please have a look at our Migration guide to start using TP 3.

Toothpick (alias TP) in a one sentence :

TP is a scope tree based Dependency Injection (DI) library.

TP in a nutshell :

Please browse the main pages of the wiki via the sidebar of this page. ---->


//a typical Toothpick scope tree during the execution of an Android app.

           @ApplicationScope 
             /          |    \  
            /           |     \
           /            |      \
   @ViewModelScope      |   Service 2
         /              | 
        /            Service 1  
       /            
 @Activity1Scope
      /
     /
Activity 1
   /   \
  /   Fragment 2
 /
Fragment 1

One of the goals of the Toothpick development team is to document Toothpick properly. This wiki is part of our effort as well as the code comments and javadoc.