Skip to content

Instantly share code, notes, and snippets.

@Richie97
Created August 7, 2012 15:05
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 Richie97/3286131 to your computer and use it in GitHub Desktop.
Save Richie97/3286131 to your computer and use it in GitHub Desktop.
Broadcast Receiver Stuff
public class ButtonStuff extends BaseButtonStuff {
private boolean whatevs;
//Broadcast Receiver
private BroadcastReceiver br = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
updateShit();
}
};
//Then the rest of the class
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment