Wish In-line Java and Activity events

thedesolatesoul

Expert
Licensed User
Longtime User
Hi Erel,
We know in-line java is coming at least for simpler stuff like calling a sub, but will it handle activity callbacks.

For e.g. lets say we add the following to in-line java,
B4X:
@Override
public boolean onPrepareOptionsMenu(Menu menu){

We know that B4A also inserts its own code into the generated java code, so this will mean we have a duplicate onPrepareOptionsMenu method defined in the java source.

Is it possible to either:
- B4A does not add the method if its defined in java
- B4A appends the user defined java into the same method as B4A generated code

Do you have anymore specifics about how in-line java will work?
 
Top