//AppWidgetManager.getInstance(mContext).notifyAppWidgetViewDataChanged(mAppWidgetId, R.id.notification_list);
AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(mContext);
int appWidgetIds[] = appWidgetManager.getAppWidgetIds(
new ComponentName(mContext, NotificationWidgetProvider.class));
appWidgetManager.notifyAppWidgetViewDataChanged(appWidgetIds, R.id.notification_list);
阅读(2835) | 评论(0) | 转发(0) |