title: Hilt ClassCastException: ViewComponentManager$FragmentContextWrapper cannot be cast to AppCompatActivity
body: <p>I have this code where I show Dialog Fragment when clicking a viewHolder item in Adapter</p>
  <pre><code> SpecialRequestNotFoundBottomSheetDialog {
              requestItem?.specialRequestEntity?.id?.let { id -&gt; onCancelReasonsSelected(id, it) }
          }.show(itemView.context as AppCompatActivity).supportFragmentManager)
  </code></pre>
  <p>recently I'm migrating to Hilt and I got class cast exception, looks like Hilt wrapping the context and I can't get the parent <strong>Activity</strong> to get the required <strong>FragmentManager</strong> to show the Dialog</p>