SwipeStack icon indicating copy to clipboard operation
SwipeStack copied to clipboard

How to perform onClick event on card ?

Open sudikrt opened this issue 8 years ago • 8 comments

If i set onClickListener to the swipeStack then i cannot be able to swipe left or right?

sudikrt avatar May 05 '17 10:05 sudikrt

I am having this same issue, was any solution found?

CallumCoombes avatar Jun 28 '17 10:06 CallumCoombes

Yeah we have implemented the card click event @CallumCoombes use this 'com.geeksynergy:swipestack:1.0.1' and it also contains bug it will cause crash when multi touch happens
This bug also fixed..

sudikrt avatar Jun 28 '17 10:06 sudikrt

we will update it to github soon @CallumCoombes

sudikrt avatar Jun 28 '17 10:06 sudikrt

Oh awesome, bit confused as to how I add this to my project?

CallumCoombes avatar Jun 28 '17 10:06 CallumCoombes

@CallumCoombes Same thing what he has mentioned in his documentation only thing is in app: Build.gradle add compile 'com.geeksynergy:swipestack:1.0.1' instead of the library that he mentioned mentioned

sudikrt avatar Jun 28 '17 11:06 sudikrt

Sadly I get 'failed to resolve: com.geeksynergy:swipestack:1.0.1'

CallumCoombes avatar Jun 28 '17 11:06 CallumCoombes

wait You need to add repositories { maven { url "http://dl.bintray.com/geeksynergy/GeekSupport" } } to your Project build.gradle

sudikrt avatar Jun 28 '17 11:06 sudikrt

Ah of course! Awesome, done that and I now have the onClick method, thanks so much!

CallumCoombes avatar Jun 28 '17 11:06 CallumCoombes