I have to run from one activity (with a callsub) the same activity (with different parameters), but I see that you can not ?! how can I solve this need \ limit?
in other words
I have the Task activity, with the Open function (id as int)
from the same activity I throw the same with a different parameter to open another task
Here's some working code you can add to any activity and then be able to recreate it:
B4X:
Sub RecreateActivity
Log("RecreateActivity called")
Dim JavaObject1 As JavaObject
JavaObject1.InitializeContext
JavaObject1.RunMethod("NativeRecreateActivity", Null)
End Sub
#If JAVA
public void NativeRecreateActivity(){
this.recreate();
}
#End If