How to delete an item from listview on button click?

I have a listview with items, when I click on any item it opens a bottom dialog with the details, I want to delete that item when I click on the button "mark as done", How can I do that?

1
3 replies