commit | 6a71a5bd7787a2dc4a585e9e6ea0a440d0458a54 | [log] [tgz] |
---|---|---|
author | Tony Wickham <twickham@google.com> | Tue Aug 21 11:40:23 2018 -0700 |
committer | Tony Wickham <twickham@google.com> | Thu Aug 30 16:22:25 2018 -0700 |
tree | b3bdc0c63c2540f57042c0d09d82786ec8d1869c | |
parent | 1654c9e1c00cb41de392880adf7c3a5a558270b3 [diff] |
Add undo snackbar for deleting items - Add methods to ModelWriter to prepareForUndoDelete, then enqueueDeleteRunnable, followed by commitDelete or abortDelete. - Add Snackbar floating view - Show Undo snackbar when dropping or flinging to delete target; if the undo action is clicked, we abort the delete, otherwise we commit it. Bug: 24238108 Change-Id: I9997235e1f8525cbb8b1fa2338099609e7358426