Ahh how silly of me. Thankyou.

Regards,
Lee

On 14 Oct, 01:46, Dianne Hackborn <hack...@android.com> wrote:
> You need to call .show() on the dialog to have it shown.  There should be no
> problem with showing a dialog in onCreate().  (There was a problem with this
> in 1.0, but that was ages ago.)
>
>
>
>
>
> On Tue, Oct 13, 2009 at 5:42 PM, Lee Jarvis <ljjar...@googlemail.com> wrote:
>
> > 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
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to