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

Clearing clusters and items in OnResume #16

Open
Therefore opened this issue Mar 4, 2018 · 2 comments
Open

Clearing clusters and items in OnResume #16

Therefore opened this issue Mar 4, 2018 · 2 comments

Comments

@Therefore
Copy link

Hey it's me again.

I noticed that when I pause my application and come back in all of the items and clusters are still shown. I noticed that there isn't a clustermanager.clear() or similar. what would you recommend on how to deal with that? Thanks.

@makovkastar
Copy link
Member

Hi. What's the problem with "when I pause my application and come back in all of the items and clusters are still shown"? Why do you think clusters should disappear when your app is resumed?

@PJHaynes304
Copy link

Not sure what you're trying to achieve here as I'd agree with @makovkastar this would be expected behaviour BUT I clear the clusters by defining an empty list and calling mClusterManager.setItems(emtptyList); whenever I want to remove all the clusters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants