Delete a crime in Master-Detail layout

Hello everybody,

The book didn’t mention any idea about how to delete a crime and update the UI using two pane layout, meaning, when delete a crime you have to update the list, and display either an empty detail fragment, or hide it so that the detail area appears blank, i made the first part (updating the list after deleting a crime), but is there any idea about the rest steps? i tried many solutions, and reached to nothing.

Thank you