Shivam Sethi
03/01/2021, 2:43 AMShivam Sethi
03/01/2021, 2:49 AMknthmn
03/01/2021, 3:14 AMonClick
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
Shivam Sethi
03/01/2021, 3:17 AM