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

Any public method to pause blur when activity is paused? #8

Closed
imknown opened this issue Mar 1, 2017 · 4 comments
Closed

Any public method to pause blur when activity is paused? #8

imknown opened this issue Mar 1, 2017 · 4 comments

Comments

@imknown
Copy link

imknown commented Mar 1, 2017

https://github.com/mmin18/RealtimeBlurView/blob/master/library/src/com/github/mmin18/widget/RealtimeBlurView.java#L121

Is it?

@mmin18
Copy link
Owner

mmin18 commented Mar 1, 2017

No. And it don't has a pause method.

The blur will only trigger when activity draws, and background activity will not draw (unless the active activity is transparent)

@imknown
Copy link
Author

imknown commented Mar 1, 2017

Thx, i created one ViewStub for BlurView on my root Activity (the Activity has fragments).
When i call BlurView.setVisibility(View.GONE), and will it a good way to hide the BlurView?

@mmin18
Copy link
Owner

mmin18 commented Mar 1, 2017

Yes. If it's hidden, it will not blur.

@imknown
Copy link
Author

imknown commented Mar 1, 2017

Thank you a lot. There is one another animator frame-dropped problem. I'll recreate one new.

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

2 participants