The widget StackViewmust have an implementation of an interface RemoteViewsService.RemoteViewsFactorythat includes a method onDataSetChanged(). As part of this method, you need to update the widget from the data source.
, , , , :
AppWidgetManager awm = AppWidgetManager.getInstance(getActivity()); awm.notifyAppWidgetViewDataChanged(awm.getAppWidgetIds( _ (getActivity(), Your_App_Widget_Provider.class)), R.id.your_stack_view);