I'm using compose material 3 1.0.0-alpha13 and found that the swipeable modifier is marked as internal. Is there something that changed or was this some mistake?
c
Chris Sinco [G]
06/18/2022, 4:13 AM
Cc @jossiwolf
a
Albert Chang
06/18/2022, 4:59 AM
Swipeable in M3 package has always been internal. You can use swipeable from material though. I believe they are the same.
z
zt
06/18/2022, 5:01 AM
Oh, well, it still would make more sense to make M3 swipeable modifier public. Having to depend on M2 as well just for one modifier isn't really ideal in my opinion
We are currently evaluating the API surface we want to offer for Swipeable, including a possible Foundation API. As there are quite a few issues with Swipeable, we haven't made it public in M3 yet.
Comment #2 on the issue linked above gives you the full explanation and recommendations if you need something to give to your leads :)
For the time being, we recommend forking Swipeable if you need it in M3!
z
zt
06/18/2022, 5:18 PM
Thank you for the quick answer
n
Nick
04/04/2023, 9:12 PM
Hi Jossi! How is the swipeable implementation going? We'd love to be able to use it in our project.