Created
August 7, 2012 15:05
-
-
Save Richie97/3286131 to your computer and use it in GitHub Desktop.
Broadcast Receiver Stuff
This file contains 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
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