daimajia / AndroidSwipeLayout

The Most Powerful Swipe Layout!
MIT License
12.38k stars 2.67k forks source link

Get currently open swipe view #295

Open Meemaw opened 8 years ago

Meemaw commented 8 years ago

Hello. I'm having problems getting information about which bottom view is currently open (left or right). I need this in method onHandRelease.

lou78 commented 8 years ago

try if (swipeLayout.getDragEdge()== SwipeLayout.DragEdge.Left){}