AndroidSwipeLayout
AndroidSwipeLayout copied to clipboard
Trigger action and close layout after swiping
It is possible to trigger an action and close the layout after swiping the surface?
Add a SwipeLayout.SwipeListener (use SimpleSwipeListener) and override and trigger your action in onOpen() along with calling close()
does it close the surface automatically? or do I have to do it manually? if yes, how could I do it? Thanks
Updated my answer while you replied with exactly that, need to call close() as well on the layout to get as a parameter in onOpen
cool thanks