In the document migrated Swipeable to AnchoredDrag...
# compose-android
a
In the document migrated Swipeable to AnchoredDraggable https://developer.android.com/develop/ui/compose/touch-input/pointer-input/migrate-swipeable it is mentioned that
*Warning:* This page and the snippets it contains are outdated.
is there up to date version as well?
s
Having used AnchoredDraggable recently, most if not all of that stuff still seems to still be valid One of the APIs that might have changed is
progress
, it was a property (that seems to be deprecated), but now it's a function, that takes 2 parameters (these have to be one of your anchors) so you specify what progress are you tracking; i.e. between which anchors is that threshold