clickable card in composable[Solved]

stefanmz

Member
Jun 15, 2023
16
5
3
Visit site
Hi! I am using Android studio with Jetpack compose and I want to make my Card element clickable when you click or tap there is an action but from all information I see that I have to use .clickable from modifier and I don't have such a thing even with the right imports it doesn't recognize it. So how do I do it?
 

B. Diddy

Senior Ambassador
Moderator
Mar 9, 2012
166,169
5,614
113
Visit site
Welcome to Android Central! I moved this to the Software Development forum for more specific traffic.
 

stefanmz

Member
Jun 15, 2023
16
5
3
Visit site
Hi! I am using Android studio with Jetpack compose and I want to make my Card element clickable when you click or tap there is an action but from all information I see that I have to use .clickable from modifier and I don't have such a thing even with the right imports it doesn't recognize it. So how do I do it?
it's solved now, I solved that so no worries, you can mark it as completed
 
  • Like
Reactions: B. Diddy