cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

How to share data between different view

leonardosella
13-Aquamarine

How to share data between different view

Hi everyone,

I'm developing some Vuforia Studio Projects that includes three or more different view.

For example: 

  • Home
  • Service
  • Technical Drawing

In Home view I want to be able to set languages and some other parameters, that could be accessible also for Service and Technical Drawing. At the moment I'm not able to connect each view but only navigate from one to another. 

 

For the languages selection,  I use a flag that change value and select a "predefined" set of label (used for example to translate the buttons). 

 

 

Any suggestions? 

 

Thank you, Leonardo 

ACCEPTED SOLUTION

Accepted Solutions

You can use application parameters for this. Create an application parameter for each bit of data you want to pass between views. Every view will have access to those values. You can set them in JS using 

$scope.app.param['<paramname>'] = "<paramvalue>"

 

 

View solution in original post

1 REPLY 1

You can use application parameters for this. Create an application parameter for each bit of data you want to pass between views. Every view will have access to those values. You can set them in JS using 

$scope.app.param['<paramname>'] = "<paramvalue>"

 

 

Announcements

Top Tags