I have two classes in the same package
First:
Second
How to get variable TapAPIba from FIRST CLASS ?
Thanks
First:
B4X:
public class MoPubLibFull extends ViewWrapper<MoPubView> {
/**
* // Enter your TapForTap API
*/
public void InitialiseTapForTap (BA ba , String TapAPI)
{
String [B]TapAPIba[/B] = TapAPI;
}
}
Second
B4X:
public class TapForTapBanner extends CustomEventBanner implements com.tapfortap.AdView.AdViewListener {
private com.tapfortap.AdView tapForTapAdView;
private CustomEventBannerListener customEventBannerListener;
@Override
public void loadBanner(Context context, CustomEventBannerListener customEventBannerListener, Map<String, Object> localExtras,
Map<String, String> serverExtras) {
this.customEventBannerListener = customEventBannerListener;
if (tapForTapAdView == null) {
TapForTap.initialize(context, [B]TapAPIba FROM FIRST CLASS[/B] );
tapForTapAdView = new com.tapfortap.AdView(context);
tapForTapAdView.autoRollover = false;
tapForTapAdView.setListener(this);
}
tapForTapAdView.loadAds();
}
How to get variable TapAPIba from FIRST CLASS ?
Thanks
Last edited: