i'm developing android application deals databases , records. user has option delete record , i'm having trouble deciding how go doing this. options are:
- use
alertdialog
pops before record deleted , confirms user's choice delete. - use
snackbar
comes after user deletes, telling them record has been deleted, , giving them option undo. - use both
alertdialog
before deleting (asking confirmation) ,snackbar
after deleting (with undo action).
i prefer snackbars
on alertdialogs
don't know if having both best way go. i'm confused correct approach should be. tried looking guidelines or best practices in developer documentation, couldn't find regarding issue. what's best practice in case?
Comments
Post a Comment