Created
January 7, 2018 09:26
-
-
Save prakashpun/4b313cfaeb3b219027b20fd9b34caeea to your computer and use it in GitHub Desktop.
show ad on mShowVideoButton click
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
mShowVideoButton.setOnClickListener(new View.OnClickListener() { | |
@Override | |
public void onClick(View v) { | |
if (mRewardedVideoAd.isLoaded()) { | |
mRewardedVideoAd.show(); | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment