I have a question about `AnimatedVisibility` is th...
# compose
c
I have a question about
AnimatedVisibility
is this starts from alpha = 0f or It doesn't draw at all when its visibility is false? When I leave a log in the block, it only prints when it's true though.
l
Doesn't exist at all when
false
. When turned to
true
, the content will enter the composition with alpha slowly rising from 0.0 to 1.0, and when turned to
false
, the alpha drops down to 0.0 and then the content leaves the composition.
c
I see. But I don't know what happens under the hood. I couldn't find if statement.