-
-
Notifications
You must be signed in to change notification settings - Fork 326
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
NullPointerException on a BlurView previously shown #16
Comments
Thank you, I'll fix it soon. |
Can you please clarify, the grid you mentioned is ListView / GridView / RecyclerView? If it's not, do you call |
The grid is a RecyclerView with a GridLayoutManager. I don't exactly remove the view, I merely hide it by animating the alpha of the RelativeLayout (that has the BlurView inside) to 0 and then setting the layout's visibility to gone. |
Please check 1.1.0 version, I believe it should be fixed now. |
It was fixed indeed, thanks! |
I'm having trouble hiding and showing a BlurView, I have a grid with a few tiles, when a button is pressed the blur appears and then the user can hide it. When I show it for the first time or multiple times on the same tile it works properly but when I show it on another tile and go back to the first one I get an exception. The BlurView is inside a RelativeLayout and I'm using alpha + visibility to show/hide the layout (but it also happens if the Blur is outside this layout).
My code is:
This is the exception:
Thanks in advance.
The text was updated successfully, but these errors were encountered: