I have an appwidget which uses ListView. I have created a class that extends RemoteViewsService:
ListView
RemoteViewsService
public class AppWidgetService ext
Based on the above description another trick you can do if you are setting intent extra other than string could be:
Random random = new Random(); intent.setType(String.valueOf(random.nextInt(1000)));
This will invoke a call to onGetViewFactory();