AndroidSwipeLayout icon indicating copy to clipboard operation
AndroidSwipeLayout copied to clipboard

Swipe Layout from left to right.

Open Solitaryo opened this issue 11 years ago • 2 comments

Here you have an example about how to use your library, but the swipe is always from right to left, i need a little example with the swipe from left to right, if you can provide one i'll really appreciate it. Thanks a lot.

Solitaryo avatar Jun 15 '15 01:06 Solitaryo

vh.swipeLayout.getDragEdgeMap().clear();

vh.swipeLayout.addDrag(SwipeLayout.DragEdge.Left, vh.swipeLayout.findViewById(R.id.bottom_wrapper));

I set the bottom_wrapper id to the first layout in the swipeLayout (the bottom view)

taylorzhang2 avatar Jun 17 '15 23:06 taylorzhang2

taylorzhang2's solution is work. Thank you taylorzhang2.

Cutta avatar Jul 01 '15 14:07 Cutta