I was adding a adlink to my app and followed all the steps on RevMob's site, but i get the error "Cannot convert from void to RevMobLink". This is the code I'm using:
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.fragment_original);
setTitle("Original");
RevMob revmob = RevMob.start(this, "536a384465333af826af24f2c");
RevMobAdsListener listener = new RevMobAdsListener() {
public void onRevMobAdReceived() { Log.i("[RevMob]", "onAdReceived"); }
public void onRevMobAdNotReceived(String message) {} // you can create an workaround here
public void onRevMobAdDisplayed() {}
public void onRevMobAdDismiss() {}
public void onRevMobAdClicked() {}
};
RevMobLink link = revmob.openAdLink(this, listener);