RewardedVideoAd is deprecated. What is the new alternative?
void loadAds(){
RewardedVideoAd mRewardedVideoAd;
mRewardedVideoAd.loadAd(rewarded_id, new AdRequest.Builder().build());
mRewardedVideoAd = MobileAds.getRewardedVideoAdInstance(this);
mRewardedVideoAd.setRewardedVideoAdListener(new RewardedVideoAdListener() {
@Override
public void onRewardedVideoAdLoaded() {
AppUtils.showLog("REWARDED", "onRewardedVideoAdLoaded");
}
.....
.....
}
This is the new way to implement new RewardVideoAds. Found via this official website.
Load an ad
Show the ad
Using RewardedAdCallback to preload the next rewarded ad