Blurry
Blurry copied to clipboard
Blurry.delete()
When using more Blurry view inside parent view it fails to delete parent view. How to reproduce
<ParentView> <child_1> <child_2> </ParentView>
Now if we do
Blurry.with(context).radius(30).animate().capture(child_1).into(child_1);
And then
Blurry.with(context).radius(30).animate().onto(ParentView)
Now using Blurry.delete(ParentView)
doesn't remove blur.
Actual Output
Nothing happens.
Correct Output It should remove given views's blur.
Blurry.delete(ParentView)
should clear ParentView's blur automatically. And looking at sample, I can confirm this API works.
However Blurry.onto(ParentView).into(ImageView)
does not save any actual blur operation on ParentView. It looks like Blurry creates blurred bitmap from ParentView and applies to ImageView, so there is nothing blurry can do here.
Workaround will be.
Reset child_1
's drawable manually.