Suppose I have a status notification TextView on my appwidget. During my big
update function (that returns the single RemoteViews object) would be be OK
to call a method that'd update the value of the text? Like:
void updateStatus( String str ) {
// update the status text R.id.statusUpdate
}
RemoteViews updateAppWidgetLayout( Context context, int id ) {
updateStatus( "starting update" );
// do everything else
// And here (end of function) manually set the R.id.statusUpdate view via
the RemoteViews I'm returning.
return remoteViews;
}
Where the big RemoteViews isn't touched? Or will that corrupt the process?
--
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