Flashing a spannable or textview when data changes

by jsdf » Tue, 03 Mar 2009 09:52:41 GMT

Sponsored Links
 Hi all,
I released a program that (for now) simply outputs data that is pulled
from a web API, which it polls at regular intervals.
The data is output in a Gridview, where each row contains a
LinearLayout with multiple TextViews.  The updated value is in the
second TextView, in a Spannable.

My question is: when I update the data, is there a way I can tell
either the TextView or the Spannable to flash and notify the user that
the data has been updated?  I would like it to flash orange for some
amount of time then go back to the default state (though I'm not picky
about how it flashes).

Is this a method/feature that is already done, or do I need to get
fancy with threads?


Other Threads

1. Trouble Rendering Bitmaps Correctly in OpenGL

I'm basically using the same method of loading bitmaps in OpenGL that
the SpriteMethodTest example uses and have been unable to get rid of
an annoying outline that appears around all of my images.

For example, If I were to load an image of a  white circle on a white
background, I would expect to see nothing.  Instead, I would see my
circle because its edge would be gray.  In SpriteMethodTest, I
replaced the background image with white and was able to see that the
edges of the android images flying around also don't seem to be
rendered correctly.

Does anyone know how to load images in OpenGL without having a thin
outline appear around the images?


2. Can't re-install radio update

I successfully installed version 1.6 but was having trouble connecting
my wifi.  I did a factory reset and tried to re-install the ota-
radio-2_22_19_26i.zip.  After copying it to update.zip on the sd card
and booting it would begin the install process.  Verified ok.  Install
started but then I got the "installation aborted" message.  Tried
several times with no luck.  I tried the recovery image process update
and it seemed to work.


Did the abort occur because the radio update was already done?

Did I actually update the recovery image if the radio update failed?


3. Problem starting animation on a custom View

4. usb DVB

5. Can not see my devices on adb devices or DDMS

6. How convert Geocoder to GeoPoint

7. Scala on Android - Performance