https://kotlinlang.org logo
#compose
Title
# compose
g

Geert

03/27/2024, 8:42 AM
Is there a variant for this picker (SwiftUI) in Jetpack compose? I can only find date/time pickers. nothing like this. someone has an idea?
a

Alexander Zhirkevich

03/27/2024, 8:47 AM
If you only need this picker you can copy-paste it from here
g

Geert

03/27/2024, 8:48 AM
Thanks i will look into it
n

Nick Rout

03/27/2024, 9:36 AM
You could possibly try SegmentedButton
m

Matthew Feinberg

03/27/2024, 9:40 AM
I was just about to suggest SegmentedButton but Nick Rout beat me to it. It's in Material Design 3 so you'll need to add a dependency in your `build.gradle.kts`:
Copy code
implementation(compose.material3)
You can see what the default appearance looks like in the Material Design Guide.
👍 2
😄 2
3 Views