An Android jepack Compose library for swipeable view.
param | description |
---|---|
swipeDirection |
select where view can swipe. left, right, both. BOTH , RIGHT , LEFT |
leftDismissDistance |
distance how to swipe to left |
rightDismissDistance |
distance how to swipe to right |
fractionalThreshold |
distance how to swipe to right |
enable |
if view could swipe or not |
enableResistance |
if view could more move when you swipe from max distance |
onClickedContent |
surface view onClickListener |
content |
surface view before swipe |
background |
show surface view after swipe |
swipeable_view_sample.mp4
you can contact me: [email protected]