forked from organicmaps/organicmaps
[android] Fixed the so late loader registration which leads to timeout waiting for RB banner when it's no really needed
This commit is contained in:
parent
9353a1da65
commit
035140af73
1 changed files with 1 additions and 1 deletions
|
@ -68,9 +68,9 @@ public class CompoundNativeAdLoader extends BaseNativeAdLoader implements Native
|
|||
throw new AssertionError("A banner id mustn't be empty!");
|
||||
|
||||
NativeAdLoader loader = Factory.createLoaderForBanner(banner, mCacheListener, mAdTracker);
|
||||
mLoaders.add(loader);
|
||||
loader.setAdListener(this);
|
||||
loader.loadAd(context, banner.getId());
|
||||
mLoaders.add(loader);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue