ActivityContext

annotation class ActivityContext

Get the Activity's Context.

Without this annotation, Application Context will be injected.

@Provides
@ActivityComponent
class ForActivity(
val applicationContext: Context,
@ActivityContext
val activityContext: Context,
)