Hmm ok it seems this is a "updating from background issue" it just seems that the android OS doesn't catch it as such because I am interacting with the object array rather than the screen object.
Tom On Aug 28, 5:40 pm, Tom <thomas.shepp...@polarmobile.com> wrote: > Hey Guys, > > I am seeing some weird issues and looking to see if anyone knows what > is going on. I have a BroadcastReceiver which updates some views on > receiving an event. Some psudo code is shown below. What happens is > the function runs fine and the app seems to update the textviews BUT > when i then try to clear the textviews parent and add new textviews > the linearlayout(parent) blanks out and will now draw any of it's > children. Has anyone seen this before? > > public class PMDynIntentReceiver extends BroadcastReceiver { > > public void onReceive(final Context context, Intent intent) { > > Thread th = new Thread() { > > run() { > // Pull a view out of an array. > // Push the view into a update data as show below > //thats it > > } > }; > > th.start(); > > } > } > > public static void updateData(Hashtable data, View x) > { > textView text = (TextView)x.findViewById(R.id.sbTeamAStat1); > text.setText(data.get(something)); > > } > > Tom --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---