Hi

I have two activities, a service and a singleton list. The service is 
responsible for fetching all the data via async tasks called in my main 
activity. The other activity can add items to the list but when a new item 
is added the data service needs to fetch data for it.

The task to fetch data is in my main activity because it is bound to the 
service already.

i want the main activity to observe the list so that when the other activity 
adds an item to the list it can run the async task to fetch data for that 
item.
Is this the correct way to do this?
If So how do i get my main activity to observe my singleton list 
that extends Observable?

Any help would be great.
Thanks in advance

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