This is one of her observers:

public void onChange(String s) {
((MainActivity) act).getTextView().setText(s);
}



On Wednesday, August 29, 2012 9:22:31 AM UTC-5, MagouyaWare wrote:
>
> Also, please notice that your observers will be getting notified on a 
>> thread other than the UI thread with your notifyListener calls in 
>> doInBackground.  You may not want that.
>>
>
> As long as the observers run their code with post() or runOnUiThread() 
> then there won't be a problem
>
> Thanks,
> Justin Anderson
> MagouyaWare Developer
> http://sites.google.com/site/magouyaware
>
>
> On Wed, Aug 29, 2012 at 8:14 AM, bob <[email protected]<javascript:>
> > wrote:
>
>> Also, please notice that your observers will be getting notified on a 
>> thread other than the UI thread with your notifyListener calls in 
>> doInBackground.  You may not want that.
>
>
>

-- 
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