Hi everyone,
If an java void is as follows, what is the correct way to access parameter from a ba library ?
xxxx.register(context as Context, String as String)
Would it be ba.context as passed into the void from b4a, ie ?
Hope this is clear !!
neil
If an java void is as follows, what is the correct way to access parameter from a ba library ?
xxxx.register(context as Context, String as String)
Would it be ba.context as passed into the void from b4a, ie ?
B4X:
private BA ba;
public void b4atest(BA ba, String eventName){
this.ba = ba;
Context context = ba.context;
xxxx.register(context as Context, String as String)
}
Hope this is clear !!
neil