StackCardsView icon indicating copy to clipboard operation
StackCardsView copied to clipboard

怎样设置下滑和上滑不删除

Open chengxianchao opened this issue 8 years ago • 1 comments

chengxianchao avatar Aug 13 '17 05:08 chengxianchao

重写Adapter的getDismissDirection方法, 如果只想左右删除: @override public int getDismissDirection(int position) {

   return StackCardsView.SWIPE_LEFT | StackCardsView.SWIPE_RIGHT;

}

wensefu avatar Aug 13 '17 05:08 wensefu