// In the Activity that will launch the native ad, // implement the AdListener interface and add the following: import com.facebook.ads.*; private NativeAd nativeAd; private void showNativeAd(){ nativeAd = new NativeAd(this, "473076559477025_1561996123918391"); nativeAd.setAdListener(new AdListener() { @Override public void onError(Ad ad, AdError error) { ... } @Override public void onAdLoaded(Ad ad) { ... } @Override public void onAdClicked(Ad ad) { ... } }); nativeAd.loadAd(); } // The next step is to extract the ad metadata and use its properties // to build your customized native UI. Modify the onAdLoaded function // above to retrieve the ad properties. For example: @Override public void onAdLoaded(Ad ad) { if (ad != nativeAd) { return; } String titleForAd = nativeAd.getAdTitle(); Image coverImage = nativeAd.getAdCoverImage(); Image iconForAd = nativeAd.getAdIcon(); String socialContextForAd = nativeAd.getAdSocialContext(); String titleForAdButton = nativeAd.getAdCallToAction(); String textForAdBody = nativeAd.getAdBody(); Rating appRatingForAd = nativeAd.getAdStarRating(); // Add code here to create a custom view that uses the ad properties // For example: LinearLayout nativeAdContainer = new LinearLayout(this); TextView titleLabel = new TextView(this); titleLabel.setText(titleForAd); nativeAdContainer.addView(titleLabel); ... // Add the ad to your layout LinearLayout mainContainer = (LinearLayout)findViewById(R.id.MainContainer); mainContainer.addView(nativeAdContainer); // Register the native ad view with the native ad instance nativeAd.registerViewForInteraction(nativeAdContainer); }

The Ijaw Youths Congress has dared the President Muhammadu Buhari-led Government not to contemplate the arrest of former President Goodluck Jonathan over the ongoing probe of massive fraud and embezzlement alleged to have taken place under his watch.

The youths, who converged at Wellington Hotel Effurrun, Delta State, for the 2016 annual Major Isaac Boro anniversary celebration with the theme, “The ideals of Adaka Boro and the renewed militancy in the Niger Delta: The way forward,” criticised the present administration for limiting its anti-corruption campaign only to the Jonathan regime.

The IYC president, Udengs Eradiri, said

APC-led Government should probe the Halliburton bribery case under ex-President Olusegun Obasanjo, if it indeed want Nigerians to take its anti-corruption campaign seriously.

On the renewed militancy in the region, Eradiri said the opening of the Maritime University in Okerenkoko, Delta State, for academic activities was the first condition for a roundtable discussion with the Federal Government towards ending ongoing militants’ onslaught in the region.

Eradiri said, “People have started discussing. There was a meeting in Abuja yesterday (Wednesday) but I told them that such a meeting would not work.

“If they want us to talk, they must first open the Maritime University and start admitting students, then we would now sit and talk. The same issues for which Adaka Boro and Ken Saro-Wiwa were killed are the same issues the Avengers are raising.

“There are no Avengers anywhere. Settle these issues and the avengers would fizzle away.”

So once Maritime University in Tompolo’s village opens, there’ll be peace in Niger Delta? Interesting.

LEAVE A REPLY

Please enter your comment!
Please enter your name here