Spikeysanju / Expenso

📊 A Minimal Expense Tracker App built to demonstrate the use of modern android architecture component with MVVM Architecture
Apache License 2.0
977 stars 170 forks source link

When I swipe a transaction away and press UNDO in snackbar, Deleted item is not displayed back. #240

Open unaisulhadi opened 2 years ago

unaisulhadi commented 2 years ago

Describe the bug When I swipe a transaction away and press UNDO in snackbar, Deleted item is not displayed.

To Reproduce Steps to reproduce the behavior:

  1. Add an expense transaction.
  2. Go back to main screen (Overall).
  3. Swipe away the transaction
  4. Click UNDO button in the resulting Snackbar.
  5. Deleted amount is added correct, But transaction is not appearing in RV.
  6. Close the app and reopen, you can see the transaction.

Expected behavior Deleted transaction item must come back to list after pressing UNDO.

Screenshots WhatsApp Image 2022-03-17 at 3 27 19 PM (2) WhatsApp Image 2022-03-17 at 3 27 19 PM (1) WhatsApp Image 2022-03-17 at 3 27 19 PM

Smartphone (please complete the following information):

shamim-emon commented 7 months ago

@Spikeysanju can I take this issue?