Hi Everyone, can anybody know how to refresh the c...
# compose
m
Hi Everyone, can anybody know how to refresh the compose function?
k
you could
currentRecomposeScope.invalidate()
, but what is your usecase?
👍 1
m
asking location permission from user, when user allow it then refresh the compose to see the result on the base of coordinates.
a
Just store isPermissionGranted as a state
👍🏼 2
👍 5
3
g
And then when the state changes compose should, well, recompose 😎
👍 3