So I have a ListActivity that implements an ArrayAdapter list. I have a control statement within onCreate() that checks if we have any Array values to populate our list, if we do.. set up the list and display it. The problem is, what happens when we don't.
Ideally what I'd like to do is simply display an alert dialog telling the user "no values exist" and then return to the previous activity, what's the best way to do this? I've tried the following... http://pastie.org/653790 But the dialog doesn't appear, which isn't really any surprise. What would be the best approach for this? Regards, Lee --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---