Hey guys, I'm working on an application thats effectively a glorified
log book. It maintains each log item in an SQLite table row, and
displays the logs in a List among other activities.

I want to implement a delete confirmation dialog so that users avoid
losing a log if their finger slips to the delete button instead of
edit. I know it can be done several ways, I'm currently considering 2
options. First would be using a dialog popup from the List and View
activities where each activity then has to handle the db deletion
after hearing back from the dialog, or the second option is to trigger
an intent to a Delete activity (dressed up with Theme.Dialog) which
will handle the confirmation question and subsequent deletion.

Both methods will work, but which one is more appropriate to the
Android way? Does it make more sense to encapsulate the idea of
deleting into its own Activity, or is that too much effort for a
function that should be handled by a modal dialog in the List/View
activities?

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to