https://kotlinlang.org logo
#compose
Title
# compose
r

romainguy

06/19/2020, 7:00 PM
Apply a blur?
g

Guy Bieber

06/19/2020, 7:39 PM
yes
r

romainguy

06/19/2020, 7:40 PM
We don’t provide this feature (nor does the existing toolkit)
You can do it yourself using
PixelCopy
and probably RenderScript to blur the image
👍 1
g

Guy Bieber

06/19/2020, 7:40 PM
Cool I will take a look
r

romainguy

06/19/2020, 7:41 PM
But, it’s not simple 🙂
😅 1
s

Santhosh Kumar

06/19/2020, 10:00 PM
RenderScript consumes more memory when trying to apply blur for multiple views on screen. It causes OOM
r

romainguy

06/19/2020, 10:08 PM
??
I won’t use more memory than you ask it to use
g

Guy Bieber

06/19/2020, 10:09 PM
Haven’t tried it yet…
g

Gabriel Feo

06/20/2020, 1:09 PM
There’s a library called “Blurry” too. Can’t recommend it, but it’s used out there
👍 1
3 Views