Not specifically. It's not about where you push the RemoteViews from,
it's about what's in it.
What I do in my code is make sure that each and every RemoteViews object
is complete, i.e. has calls to show data (setTextViewText, etc.) as well
as set any pending intents.
Whenever something changes, and I need to update one text view in the
widget (just to pick an example), my code again pushes a complete
update, with values for all views, and pending intents.
Another way to look at this is - there is only one place in my code
where I build RemoteViews and push it to the widget.
-- Kostya
05.05.2011 13:31, Niall пишет:
Does what you suggested mean that all the brunt work is performed by
the service, and that this merely passes a RemoteViews to the
appwidget for displaying etc?
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
--
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