Android-UndoBar
Android-UndoBar copied to clipboard
Pass the UndoToken to onHide as well
pass the token to the listener onHide as well (not just in onUndo). this is useful for doing stuff that is not actually undoable and should only be executed after the user had his chance to undo. Also included a little fix to avoid a (very very unlikely) race condition.
love