Hi !
Have this code N 1:
and this code N 2:
So, question is - any significant difference ? What is better to use ? Any hidden problems with code 1 or 2 ?
Thanks
Have this code N 1:
B4X:
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then
Activity first time code here
end if
end sub
and this code N 2:
B4X:
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then
PrepareCode
end if
end sub
sub PrepareCode
Activity first time code here
end sub
So, question is - any significant difference ? What is better to use ? Any hidden problems with code 1 or 2 ?
Thanks