activityRetainedScope

inline fun <T : Any> activityRetainedScope(qualifier: Qualifier = TypeQualifier(T::class)): ActivityRetainedScopeToken

Specifies an ActivityRetainedScope as the next step in the path.

Return

An ActivityRetainedScopeToken to continue the path-building chain.

Parameters

T

The Activity class associated with the scope.

qualifier

An optional, explicit Qualifier for the ActivityRetained scope.