I wanted to imlement the swipe function over multiple textviews, where each view implements a onclick Listener. My problem is if i add onTouch to each textview and since they are small and many, they wont be able to recognize teh diference in both. I've tried to add to the parent layout the ontouch but it seems that since it has textviews it doesnt detect swipe over them.
Anyone know a good way to implement swipe left and right over the textviews and still preserve the onClick of these?
Thanks in advance.
To give you an idea, I have a gridview (could be any
Layout
) where there are many cells, to detect swipe over all of these cells and also to detect click on each cell I have following code, Ofcourse you need to customize based on your need: