Closed SennaGehenna closed 8 years ago
For those wondering how to implement this, since the dev doesn't seem to answer, you can implement an ItemClickListener
and not bind any click events on childViews at all. Might require a redesign, depending on how your app works in the first place, or you could implement the whole thing yourself
I'm working on an app where users are portrayed on cards, which can be flung around. You ought to be able to both drag the card around and click the profile image.
I tried to use a simple onClickListener before, but that disables the drag-ability, I figured, I could simply do the swipe-detection logic myself by using an onTouchListener and listen to the motionEvents.
Problem is, I only ever get ACTION_DOWN, which defeats my idea, because I never know when the user raises their finger.
I'm hoping that this is merely a bug
the code, just in case you can make use of that