Hey Everyone, Did anyone try to start a progressBa...
# compose
b
Hey Everyone, Did anyone try to start a progressBar on a button click. For me it gives an compile time error
Functions which invoke @Composable functions must be marked with the @Composable annotation
which is fine. I'm wondering what's the alternative to this.
m
The visibility of the progress bar should depends on a state and you should mutate that state in the onClick callback
👆 2