import com.appnexus.opensdk.TargetingParameters;
public class AmazonBanner implements MediatedBannerAdView {
AmazonListener amazonListener = null;
AdLayout adView = null;
@Override
<BUG>public void requestAd(MediatedBannerAdViewController mBC, Activity activity, String parameter, String uid, int width, int height, TargetingParameters tp) {
</BUG>
adView = new AdLayout(activity, new AdSize(width, height));
this.amazonListener = new AmazonListener(mBC, AmazonBanner.class.getSimpleName());
adView.setListener(this.amazonListener);

import com.appnexus.opensdk.TargetingParameters;
public class AmazonBanner implements MediatedBannerAdView {
AmazonListener amazonListener = null;
AdLayout adView = null;
@Override
public View requestAd(MediatedBannerAdViewController mBC, Activity activity, String parameter, String uid, int width, int height, TargetingParameters tp) {
adView = new AdLayout(activity, new AdSize(width, height));
this.amazonListener = new AmazonListener(mBC, AmazonBanner.class.getSimpleName());
adView.setListener(this.amazonListener);
