nemethv Member Licensed User Longtime User Apr 13, 2012 #1 Hello I was wondering how/if it is possible to pass values and variable between activities. For example in one activity, the user does something (like clicks on a list element) that creates: Code: Copy Sub LineList_ItemClick (Position As Int, Value As Object) If xy = False Then 'do stuff Else xy = True Then StartActivity(NewActivity) ' how do I pass Position and Value to NewActivity in a way that Subs in NewActivity can pick it up? End If End Sub
Hello I was wondering how/if it is possible to pass values and variable between activities. For example in one activity, the user does something (like clicks on a list element) that creates: Code: Copy Sub LineList_ItemClick (Position As Int, Value As Object) If xy = False Then 'do stuff Else xy = True Then StartActivity(NewActivity) ' how do I pass Position and Value to NewActivity in a way that Subs in NewActivity can pick it up? End If End Sub
NJDude Expert Licensed User Longtime User Apr 13, 2012 #2 You need to create variables in Process_Globals, so can be accessed from any activity. More info HERE Upvote 0
You need to create variables in Process_Globals, so can be accessed from any activity. More info HERE
nemethv Member Licensed User Longtime User Apr 13, 2012 #3 NJDude said: You need to create variables in Process_Globals, so can be accessed from any activity. More info HERE Click to expand... Thanks! Upvote 0
NJDude said: You need to create variables in Process_Globals, so can be accessed from any activity. More info HERE Click to expand... Thanks!