My app mostly works. The only problem is that when I want to delete a single item, the confirmation dialogue pops up as required and once the "yes" button is selected the app still does not delete the item.
It is getting the correct burger name. The burger's name was "hshz", quantity is 4 and price is 6. The log message was:
12-29 05:13:04.963 27316-27316/com.example.omar.burgerinventory D/TEST: Burger name is: hshz
Quantity: 4
Price: $6
The entry data is completely deleted once I hit "yes" on the confirmation dialogue. When I click the entry again, the app crashes. So this means that the data is wiped out but the list item still appears on the list for some reason. So I guess the problem here is that I'm able to delete the data but not clear it from the list.