B4X:
package com.example.TestMode;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import com.IQzone.postitial.Postitial;
public class MainActivity extends Activity {
//some code ...
@Override
protected void onResume() {
super.onResume();
Postitial.initialize(this).getMonitor().onResumed(this);
}
@Override
protected void onPause() {
super.onPause();
Postitial.initialize(this).getMonitor().onPaused(this);
}
}
As code above, if i need to make a lib for B4A ,there is some function like
B4X:
public void Pause(A) {
Postitial.initialize(A).getMonitor().onPaused(A);
}
and in B4A ,i want to call it like
B4X:
Sub Activity_Pause (UserClosed As Boolean)
test.Pause(B)
End Sub
now ,my question is what A and B should be?
thank you