title: ViewModel with reference to object that has the activity context
body: <p>I'm trying to implement MVVM arch, so I have my Activity and ViewModel and the ViewModel has an Interactor reference which is injected to the ViewModel but in the Interactor I need the activity context so I reference it there.</p>
  
  <p>I read this warning <a href="https://developer.android.com/topic/libraries/architecture/viewmodel.html" rel="nofollow noreferrer">in the docs</a> : <code>"Caution: A ViewModel must never reference a view, Lifecycle, or any class that may hold a reference to the activity context."</code></p>
  
  <p>With this approach the warning from the doc is kind of ignored...</p>
  
  <p>Is this the right approach?</p>
  
  <p>Thanks</p>