MDCSwipeToChoose icon indicating copy to clipboard operation
MDCSwipeToChoose copied to clipboard

Can this library be modified to have a third swipe direction?

Open goelv opened this issue 10 years ago • 4 comments

Hi,

Besides swiping the card left or right for 'skip' or 'add' respectively, I need to give the user the option to swipe down to mark 'seen'.

How do I go about modifying the MDCSwipeToChoose library? Is this structurally possible?

Any guidance in this regards will help me tremendously.

Thanks, Varun

goelv avatar May 11 '15 10:05 goelv

hey @goelv have you figured this one out yet? I'm also interested in doing that

acegreen avatar May 31 '15 15:05 acegreen

hi @acegreen yes its a work in progress. I think I have figured it out for the most part, but currently working on some other tasks and only get back to this later next week.

goelv avatar Jun 03 '15 06:06 goelv

@goelv Great. I got it working using this fork: https://github.com/modocache/MDCSwipeToChoose/issues/6

I didn't replace my pod, just modified the required files by hand. Works as expected

acegreen avatar Jun 07 '15 20:06 acegreen

@acegreen great! I didn't realize someone else forked it already. Majority of the code changes are here: https://github.com/clsource/MDCSwipeToChoose/commit/b587545a003b55c28d469b519b88d10983a4df9c from the fork

goelv avatar Jun 16 '15 12:06 goelv