On Tue, Dec 1, 2009 at 10:25 AM, Lance Nanek <[email protected]> wrote:
> Maybe you could just use a single Toast, but update the message with
> setText. A call to show each time would be needed as well to show it
> again if it has disappeared or to extend the time if it is still up
> and just getting its message changed.

Thanks, that is exactly the behavior I'm wanting.  Problem solved.

  private void toast( String s )
  {
    if( t == null )
    {
      t = Toast.makeText( getApplicationContext(), s, Toast.LENGTH_SHORT );
    }
    else
    {
      t.setText( s );
    }

    t.show();
  }


-- 
Greg Donald
http://destiney.com/

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to