any idea, why getting a context is giving an error...
# compose
s
any idea, why getting a context is giving an error here:
anybody who is facing this error, call this from scope of composable function
k
onClick
takes a normal lambda not a composable one. If you need the context in
onClick
you need to assign it to a variable in your composable and use the variable in
onClick
💯 3
s
Correct, thanks for the response