Android Question Access to main module from code module

hub73

Active Member
Licensed User
Longtime User
Hi !
i've this code inside my main activity module : Main

B4X:
Sub Afficher_infos_formulaire (Texte As String)
    lbl_message.Text = Texte
End Sub

from my code module how to access to the sub ?

B4X:
Main.Afficher_infos_formulaire ("Test") not work !

Should declare something for Afficher_infos_formulaire to share it ?
Thanks.
 
Top