title: ViewModelProviders.of(activity) error
body: <p>I have no idea what to do anymore but ask here.
  When i try to access the ViewModel from a fragment attached to an activity:<hr>
   <code>private val userViewModel by lazy { ViewModelProviders.of(activity).get(UserProfileViewModel::class.java) }</code><br><br>
  i get an error for "activity" saying "Type mismatch: inferred type is FragmentActivity? but FragmentActivity was expected"</p>
  
  <p>every example i've seen so far is using it this way and i just can't get it to work.
  Not sure if this is deprecated and i should just give up on it.</p>