Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODO: RxJava/RxKotlin supports #2

Closed
skydoves opened this issue Feb 2, 2022 · 0 comments
Closed

TODO: RxJava/RxKotlin supports #2

skydoves opened this issue Feb 2, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@skydoves
Copy link
Owner

skydoves commented Feb 2, 2022

Overview

Automatically call dispose() of the CompositeDisposable depending on ViewModel's lifecycle.

class MyViewModel: ViewModel() {
  // This will be automatically disposed of when ViewModel will be cleared.
  prival val compositeDisposable = AutoDisposeCompositeDisposable()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant