title: android pass viewmodel instance to another class function
body: <p>is it possible to do this, if not, why:</p>
  <ol>
  <li>I pass through the arguments new parcelable class to the fragment</li>
  <li>When I click on the button in the UI, I pass the viewmodel instance to the function of this class and immediately call the functions I need from the viewmodel in the same place.</li>
  </ol>
  <pre><code>@Parcelize
  class ClassA {
   fun onClick(viewModel: FragmentViewModel) {
     viewModel.callJob()
   }
  }
  </code></pre>