Skip to content

Commit

Permalink
Update scope.md
Browse files Browse the repository at this point in the history
Fix grammatical errors
  • Loading branch information
AlexBeggs authored Jan 1, 2025
1 parent c815cc6 commit c482cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/koin-android/scope.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class MyScopeViewModel : ScopeViewModel() {
}
```

By using `ScopeViewModel` you can also overrode `onCloseScope()` function, to run code before scope is being closed.
By using `ScopeViewModel` you can also override the `onCloseScope()` function, to run code before the scope is closed.

:::note
All instances inside a ViewModel scope have the same visibility and will survive for lifetime of ViewModel instance, until ViewModel's onCleared function is called
Expand Down

0 comments on commit c482cae

Please sign in to comment.