0

Hi I want to make my ListView when swipe left to show more menu.

I googled and found this library https://github.com/daimajia/AndroidSwipeLayout .

but I want to use only with handle icon. It means only swipe on that icon to activate and show menu.
Because I use PagerView for tabs, so when swipe on the rest area it will change tab.

Can anyone guide me how to do it?
Or any Library is fine.

riseres
  • 3,004
  • 4
  • 28
  • 40
  • You could try to overwrite the onTouchListener of the icon to catch the swipe and anything else doesn't respond to the swipe event. – OneCricketeer Jan 18 '17 at 19:35

1 Answers1

0

I think the best way is to use RecycleView with ItemTouchHelper

Here is similar question with answer RecyclerView Swipe with a view below it

Community
  • 1
  • 1
Rostyslav Roshak
  • 3,859
  • 2
  • 35
  • 56