The painless threading blog post here mentions a lot of nice ways:
http://android-developers.blogspot.com/2009/05/painless-threading.html

On Nov 9, 12:12 pm, Chris <[email protected]> wrote:
> Hello everyone, I'm new to Android (but not Java), so bear with me.
>
> I'm trying to create a stopwatch-type UI, where a digital timer is
> displayed and incrementing every second.  I started off creating atextviewand 
> attempted to update thistextview(TextView.setText())
> using either the TimerTask class to update the view in a timer as well
> as updating the view in the same thread, using a Thread.sleep(1000).
>
> In either case, the view does not get updated. Obviously this doesn't
> seem to be the proper way to go about updating a text view.  Any
> suggestions on the proper way to notify thetextview?
>
> Thanks
> Chris

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en

Reply via email to