Deleting Card from RecyclerView and re-add it again
问题 I'm struggling to implement the funtionality to delete an entry of a recyclerview and re-add it again, if the user decided otherwise. For that I'm showing a Snackbar with an undo action. So the flow should be: The user sees a list of Cards which each show some values and an delete button. If the user presses the delete button, the card is deleted and a Snackbar is shown. If the user clicks undo on the Snackbar the Card should be re-added to the RecyclerView . Only if the Snackbar disappears