Skip to content

error: setupAd(AdView) has protected access in AdmobFetcherBanner #132

Description

@patriqjr

private AdView prefetchAds(int cntToPrefetch){
AdView last = null;
for (int i = 0; i < cntToPrefetch; i++){
final AdView item = AdViewHelper.getBannerAdView(mContext, adFetcher.takeNextAdPreset());
adFetcher.setupAd(item);
//50 ms throttling to prevent a high-load of server
new Handler(mContext.getMainLooper()).postDelayed(new Runnable() {
@OverRide
public void run() {
adFetcher.fetchAd(item);
}
}, 50 * i);
last = item;
}
return last;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions