title: How to get hiltViewModel from Activity?
body: <p>I am trying to get a view model in two places, one in the MainActivity using:</p>
  <pre><code>val viewModel:MyViewModel by viewModels()
  </code></pre>
  <p>The Other place is inside a compose function using:</p>
  <pre><code>val viewModel:MyViewModel = hiltViewModel()
  </code></pre>
  <p>When I debug, it seems that those are two different objects. Is there anyway where I can get the same object in two places ?</p>