tinder-card-stack icon indicating copy to clipboard operation
tinder-card-stack copied to clipboard

Swipe Card using button

Open sohambannerjee8 opened this issue 10 years ago • 2 comments
trafficstars

If I want to drag the card left or light using click on button,is it possible?

sohambannerjee8 avatar Jul 14 '15 13:07 sohambannerjee8

Yes it is. On Jul 14, 2015 6:00 AM, "sohambannerjee8" [email protected] wrote:

If I want to drag the card left or light using button,is it possible?

— Reply to this email directly or view it on GitHub https://github.com/ecstasy2/tinder-card-stack/issues/10.

ecstasy2 avatar Jul 14 '15 16:07 ecstasy2

Can you please help me by giving me any sample code.I added one button in the MainActivity class.

Button button= (Button) findViewById(R.id.button); button.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { // need action } });

I am not getting what to do next.

Thanks

sohambannerjee8 avatar Jul 14 '15 16:07 sohambannerjee8