Hilt: This field leaks a context object

  android, dagger, dagger-hilt, kotlin

I got this warning while injecting context inside view model,

@ActivityContext private val context: Context
Is there any updates we have to do for this warning

Source: Android Questions

LEAVE A COMMENT