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

Add LifeCycle observer to OnlineRepository. #28

Open
levibostian opened this issue Feb 13, 2019 · 0 comments
Open

Add LifeCycle observer to OnlineRepository. #28

levibostian opened this issue Feb 13, 2019 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@levibostian
Copy link
Owner

Android Jetpack adds support for Lifecycle that makes the calling of OnlineRepository.dispose() easier by attaching an OnlineRepository to a Lifecycle and done!

Is there a way to do this easily? Hooking into a ViewModel or Activity/Fragment or any other Lifecycle?

@levibostian levibostian added enhancement New feature or request good first issue Good for newcomers labels Feb 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant