CardStackView
CardStackView copied to clipboard
Feature: allow swipe in specific directions only
Right now, if i use CardStackLayoutManager.setDirections(Directions.Right)
and CardStackLayoutManager.setCanScrollVertical(false)
, the user can swipe only to one side, but the other side will still drag and animate back when the user releases the finger.
I want to be able to set CardStackLayoutManager.setCanScrollLeft(false)
, CardStackLayoutManager.setCanScrollRight(false)
, CardStackLayoutManager.setCanScrollUp(false)
, CardStackLayoutManager.setCanScrollDown(false)
. So the user can drag only to one side for example.
Would be a nice feature.
@andreasmakeable Thank you for your proposal. I think this is a nice feature but I have no time to implement right now... So your contribution is always welcome!