[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:
alexzatsepin 2017-04-04 11:42:39 +03:00 committed by Vladimir Byko-Ianko
parent 9353a1da65
commit 035140af73

View file

@ -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);
}
}