Porwal
Porwal

Reputation: 330

Read data in the View XML file? [Titanium]

I am curious that if we can read the data that is passed by the previous controller in the (next)View (XML) file in Titanium? If yes, how?

Upvotes: 0

Views: 124

Answers (1)

TheFuquan
TheFuquan

Reputation: 1787

I don't know of a possible way to acces the $.args.variable in the xml nor the tss file unless the variable value is a bool, the only thing possible to do with it is adding conditional styles or conditional view tags:

a full example on conditional tss and xml tags can be found here

Upvotes: 1

Related Questions