title: Dagger Hilt 'Assisted' and 'ViewModelInject' is deprecated. in Dagger Hilt View Model 1.0.0-alpha03
body: <p>In Dagger Hilt View Model 1.0.0-alpha01</p>
  <pre><code>    implementation &quot;androidx.hilt:hilt-lifecycle-viewmodel:1.0.0-alpha01&quot;
      implementation 'com.google.dagger:hilt-android:2.28-alpha'
      kapt 'androidx.hilt:hilt-compiler:1.0.0-alpha01'
      kapt 'com.google.dagger:hilt-android-compiler:2.28-alpha'
  </code></pre>
  <p>I can use the below</p>
  <pre><code>class MyViewModel @ViewModelInject constructor(
      private val repository: Repository,
      @Assisted private val savedStateHandle: SavedStateHandle
  ) : ViewModel(), LifecycleObserver {
  
      // Some codes...
  }
  </code></pre>
  <p>However, when I migrate to Dagger Hilt View Model 1.0.0-alpha03</p>
  <pre><code>    implementation &quot;androidx.hilt:hilt-lifecycle-viewmodel:1.0.0-alpha03&quot;
      implementation 'com.google.dagger:hilt-android:2.31.2-alpha'
      kapt 'androidx.hilt:hilt-compiler:1.0.0-alpha03'
      kapt 'com.google.dagger:hilt-android-compiler:2.31.2-alpha'
  </code></pre>
  <p>I got the warnings</p>
  <pre><code>'Assisted' is deprecated. Deprecated in Java
  'ViewModelInject' is deprecated. Deprecated in Java
  'ViewModelInject' is deprecated. Deprecated in Java
  'Assisted' is deprecated. Deprecated in Java
  </code></pre>
  <p>What's the new way of working on it?</p>