title: How to Bind/Provide Activity or Fragment with Hilt?
body: <p>I'm trying to implement Hilt on an Android App, while It's pretty easy to implement and removes a lot of the boilerplate code when comparing with Dagger, there are some things I miss, Like building my own components and scoping them myself so i'll have my own hirerchy.</p>
  <p>To the point: Example: let's say I have a simple App with a RecyclerView, Adapter, Acitivity, and a Callback nested in my Adapter that I pass into my Adapter constructor in order to detect clicks or whatever, and I'm letting my activity implement that Callback, and of course I want to inject the adapter.</p>
  <pre><code>class @Inject constructor (callBack: Callback): RecyclerView.Adapter...
  </code></pre>
  <p>When I let Hilt know that I want to inject my adapter I need to let Hilt know how to provide all the Adapter dependencies - the Callback.</p>
  <p>In Dagger I was able to achieve this by just binding the Activity to the Callback in one of my modules:</p>
  <pre><code>@Binds fun bindCallback(activity: MyActivity): Adapter.Callback
  </code></pre>
  <p>Dagger knew how to bind the Activity(or any Activity/Fragment) and then it was linked to that Callback, but with Hilt it does'nt work.</p>
  <p>How can I achieve this? How can I provide or Bind Activity or Fragment with Hilt?</p>