tpNative.setAdListener(new NativeAdListener() {
@Override // Callback when the first ad source is loaded successfully;A load will only be called back once
public void onAdLoaded(TPAdInfo tpAdInfo, TPBaseAd tpBaseAd) {}
@Override // Native ad clicked
public void onAdClicked(TPAdInfo tpAdInfo) {}
@Override // Native ad appears on the screen
public void onAdImpression(TPAdInfo tpAdInfo) {}
@Override // Native ad failed to load
public void onAdLoadFailed(TPAdError tpAdError) {}
@Override // Native ad is shown failed(Some advertising platforms support)
public void onAdShowFailed(TPAdError tpAdError, TPAdInfo tpAdInfo) {}
@Override // Native ad closed
public void onAdClosed(TPAdInfo tpAdInfo) {}
});