Skip to content

Instantly share code, notes, and snippets.

@jezinka
Created August 18, 2018 11:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jezinka/3147be9fb2e86841f2e5773c9972ccad to your computer and use it in GitHub Desktop.
Save jezinka/3147be9fb2e86841f2e5773c9972ccad to your computer and use it in GitHub Desktop.
public static void updateSensorWidgets(Context context, AppWidgetManager appWidgetManager, Sensor sensor, int[] appWidgetIds) {
for (int appWidgetId : appWidgetIds) {
updateAppWidget(context, appWidgetManager, sensor, appWidgetId);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment