Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undo functionality #168

Open
Diolor opened this issue Nov 6, 2016 · 6 comments
Open

Undo functionality #168

Diolor opened this issue Nov 6, 2016 · 6 comments
Milestone

Comments

@Diolor
Copy link
Owner

Diolor commented Nov 6, 2016

The customer should have possibility to click and undo button to get the card from the edges to the center.

Not sure if this should be totally part of this library or just provide some functionality to achieve it.

@boylenssen
Copy link

Hi @Diolor thanks for the awesome library! Saved me tons of time!
I was wondering, what is the ETA on this functionality? I need it, so if it is low prio for you / don't have the time to do it, I'll get started on it myself. Otherwise I wait so that we are not doing the same thing :)

@Diolor Diolor added this to the 2.0.0 milestone Nov 10, 2016
@Diolor
Copy link
Owner Author

Diolor commented Nov 10, 2016

Hi @boylenssen . I plan this to be part of the v2. I have not started working on it yet. I prioritize first the card directions and then this feature. You may take a look on v2 branch

@NehaDhanwani
Copy link

Hey I have already added a quick hack for undo functionality.

@vipinpandey005
Copy link

@NehaDhanwani , can you please share the undo functionality.

@Rawall1
Copy link

Rawall1 commented Jan 31, 2020

@NehaDhanwani can you please share how you did it?

@mooglife
Copy link

Thanks @NehaDhanwani, @Others: try below in your undo function:

adapter.notifyDataSetChanged(); flingContainer.removeAllViewsInLayout(); flingContainer.forceLayout();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants