ActivityScopePathBuilder
A specialized AbstractPathBuilder for creating a scope resolution Path starting from an Activity scope. It adds the ability to navigate to viewModelScope or activityRetainedScope from an activity scope.
Properties
Functions
Link copied to clipboard
inline fun <T : Any> activityRetainedScope(qualifier: Qualifier = TypeQualifier(T::class)): ActivityRetainedScopeToken
Specifies an ActivityRetainedScope as the next step in the path.
Link copied to clipboard
Appends an ActivityRetainedScope to the path and returns a builder for that scope.
Appends a ViewModelScope to the path and returns a builder for that scope.
Link copied to clipboard
inline fun <T : Any> viewModelScope(qualifier: Qualifier = TypeQualifier(T::class)): ViewModelScopeToken
Specifies a ViewModelScope as the next step in the path.