mirror of https://github.com/LeOS-GSI/LeOS-Genesis
parent
a5c0306636
commit
617083f48f
|
@ -13,6 +13,7 @@ public class appLovinManager {
|
|||
private eventObserver.eventListener mEvent;
|
||||
private applovinSupportManager mSupportManager;
|
||||
private applovinBannerManager mBannerManager;
|
||||
private AppCompatActivity mContext;
|
||||
|
||||
private boolean mLowMemoryReached = false;
|
||||
|
||||
|
@ -20,6 +21,8 @@ public class appLovinManager {
|
|||
|
||||
public appLovinManager(eventObserver.eventListener pEvent, View pBannerAds, AppCompatActivity pContext) {
|
||||
this.mEvent = pEvent;
|
||||
this.mContext = pContext;
|
||||
|
||||
onInitializeAdvertisement(pContext);
|
||||
}
|
||||
|
||||
|
@ -37,12 +40,16 @@ public class appLovinManager {
|
|||
/*Local Helper Methods*/
|
||||
|
||||
private void onShowInterstitial() {
|
||||
if(AppLovinSdk.getInstance(mContext).isInitialized()){
|
||||
this.mSupportManager.onShow();
|
||||
}
|
||||
}
|
||||
|
||||
private void onToggleBannerShow(boolean pStatus) {
|
||||
if(AppLovinSdk.getInstance(mContext).isInitialized()){
|
||||
this.mBannerManager.onShow(pStatus);
|
||||
}
|
||||
}
|
||||
|
||||
/*Helper Methods*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue