Last active
October 22, 2017 11:41
-
-
Save pushlink/d97f2ac73091c5091c62 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
//Only for popups (FRIENDLY_POPUP or ANNOYING_POPUP) | |
//You MUST do this, otherwise popups will not work. | |
//Call it in the Activity you want to show the popup. | |
//You can show the popup in many screens by adding this in more than one Activity. | |
@Override | |
protected void onResume() { | |
super.onResume(); | |
PushLink.setCurrentActivity(this); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment