Follow up for those who might run into the same problem. The original code was just moved from an Activity into a DialogFragment modified for a fragment. Deep in the onCreateView code checked to see if the database existed or had any entries. If it didn't it popped up a Toast message that no entries were found. Problem is the View for Toast to use hadn't been created yet. So the workaround turns out to be the correct way to handle it and just avoid opening the dialog if no database entries exist.
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en