1
我想MoPub融入我的應用程序,但我不知道在哪兒的代碼片段放在我的活動onCreate()
方法中:Android。 MoPub SDK。代碼片段整合
mAdView = (MoPubView) findViewById(R.id.adview);
mAdView.setAdUnitId("xxxxxxxxxxx"); // Enter your Ad Unit ID from www.mopub.com
mAdView.loadAd();
我之前或之後將其撥打super.onCreate(savedInstanceState);
?
是的,我知道這是一個非常微不足道的問題。