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 api for tracking closeableObjects #29

Open
vicidroiddev opened this issue May 9, 2020 · 0 comments
Open

Add api for tracking closeableObjects #29

vicidroiddev opened this issue May 9, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@vicidroiddev
Copy link
Owner

A closable cache exists to ensure any object implementing Closable will close when the presenter is destroyed.

It is handy to track closable objections instead of manually cleaning up in onPresenterDestroyed

Currently you must interface with the concurrent hash map directly. We should hide the implementation and throw an error if a duplicate key is detected.

@vicidroiddev vicidroiddev added the enhancement New feature or request label May 9, 2020
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