daimajia / AndroidSwipeLayout

The Most Powerful Swipe Layout!
MIT License
12.38k stars 2.67k forks source link

RecyclerView undo for deleting #286

Open eminuluyol opened 8 years ago

eminuluyol commented 8 years ago

I have implemented the SwipeLayout and it works perfect as I wanted. The issue is that, I want to show undo label when the user after clicking on the delete label. If the user click on undo label, then system will be revert the process. I couldn't find the solution. If you help me I really appreciate it. Thanks in advance.

lou78 commented 8 years ago

Just add the snackbar widget.

eminuluyol commented 8 years ago

That is what i did.

lou78 commented 8 years ago

Could you please make it more clear? The snackbar won't show? Or when you click the undo button, the deleted item cannot be added to the list? If possible, can you paste your related code?

eminuluyol commented 8 years ago

Nooo. I mean I have used snacbar and it works as I want. Thanks for the library.