I can not figure this out, I\'ve been struggling with it for days now, and I\'m so tired of it..
I\'m changing the text size of a TextView on an AppWidget with a Spinne
You have to broadcast ACTION_APPWIDGET_UPDATE
yourself for the first time when a configuration Activity is launched.
The Appwidgets Documentation says :
The onUpdate() method will not be called when the App Widget is created (the system will not send the ACTION_APPWIDGET_UPDATE broadcast when a configuration Activity is launched). It is the responsibility of the configuration Activity to request an update from the AppWidgetManager when the App Widget is first created. However, onUpdate() will be called for subsequent updates—it is only skipped the first time.
Try by adding this code just above the finish() line of your Config activity.
AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(this);
appWidgetManager.updateAppWidget(
new ComponentName(this.getPackageName(), Widget.class.getName()), views);