Hello guys, I’m facing a strange issue. I have an...
# compose
y
Hello guys, I’m facing a strange issue. I have an animated visibilty block that is managed as usual with a boolean flag. I have one specific case with an unusual behavior. Sometimes when I set the flag to true, the composable is recomposed but the flag is false which is the initial value I assign to it at the beginning of the function. Any ideas?
a
Is the flag a state and is it remembered?
y
IMG_2072.jpg
Hi, found it, It was because I'm using a third party module and I'm actually moving to another activity so I think "remember" wasn't enough. I changed it to rememberSaveable and so far so good..