-
-
Save jezinka/20af4924e2233332c0ad17f7866ff1ff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Intent refreshIntent = new Intent(context, SensorIntentService.class); | |
| refreshIntent.setAction(SensorIntentService.ACTION_REFRESH_WIDGET); | |
| PendingIntent refreshPendingIntent = PendingIntent.getService( | |
| context, | |
| 0, | |
| refreshIntent, | |
| PendingIntent.FLAG_UPDATE_CURRENT); | |
| views.setOnClickPendingIntent(R.id.refresh_ic, refreshPendingIntent); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment