Java Question Excuse me, how to write Activity.this in inline java?

mywmshow

Member
I have a piece of java code and I don't know how to write it in the inline code of B4A.
InteractionExpressActivity.java:
public void onRenderSuccess(View view, float width, float height) {
    TToast.show(mContext, "ok");
    mTTAd.showInteractionExpressAd(InteractionExpressActivity.this);
 }
I tried this, but the result was incorrect!
B4A:
public void onRenderSuccess(View view, float width, float height) {
    processBA.Log("ok");
    mTTAd.showInteractionExpressAd(processBA.activity);
}
May I ask how to write this, trouble everyone!

11.png
 
Top