I want to ensure that the user really wants to delete an item in a list by asking the question “Do you really want to delete this item?” and then either proceed if the user clicks a positive response or do not delete the item and leave the user where s/he was before clicking on the delete button.
I tried to see if there was anything in the action operations that I could do to create a “careful delete row”, but couldn’t fine anything to build this action.
You could try to set an action to link to screen ‘this Item’ to get a new screen. Then have your, ‘are you sure’ and another delete button that does the actual delete and a go back.
+1 for this approach. On the final screen I add a bar button, one to go back, one to actually delete (and go back one more time to the original screen with the list of items, adding to the native go back by the delete action).
And, to be consistent in my desire to see easy solutions to common requirements prevalent in Glide, I think “careful delete” is a very important feature to encourage in all apps. Glide should provide a standard way to do this: not that it is the only way, but for newbies (and lazy people like me ) is very useful.
Doesn’t the native Delete through the edit mode already ask for confirmation? I’m guessing if you are instead doing it through an action, you should know that you want something to be deleted blindly and in a lot of cases, you may not want a confirmation if it’s a backend action. If you want different results, then you should “program” for it accordingly. Are you saying that every single time the Delete Action is fired, that an automatic confirmation should pop up, or would it be optional depending on the circumstances of the delete? Just my thoughts on trying to cover every single possible scenario.