Multiple Instances Of Widget Only Updating Last widget

I had a similar problem. Just add this to your config activity, where you set your PendingIntent:

Uri data = Uri.withAppendedPath(
    Uri.parse(URI_SCHEME + "://widget/id/")
    ,String.valueOf(appWidgetId));
intent.setData(data);

The variable URI_SCHEME is a String, and can be whatever you’d like.. ie – “ABCD” This causes each widget to have a unique PendingIntent.

Leave a Comment