title: Dagger with Android: How do I inject the current context?
body: <p>Back when I used RoboGuice, I was able to constructor inject Context into of my classes and RoboGuice would pick the appropriate Context (injects in an Activity would have the Activity context, injects in Application would have the current application context, injects in a Fragment would have the fragment's activity's context, etc...).</p>
  
  <p>Is there a similar method for achieving this with Dagger?</p>
  
  <pre><code>public class Thing {
      @Inject
      public class Thing(Context context){
         // if i'm injected in an Activity, I should be the current activity's context
         // if i'm injected in an Fragment, I should be the fragment's activity context
         // if i'm injected in a Service, I should be the service's context
         // etc...
      }
  }
  </code></pre>