Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Zukka
Posts: 201
Registered: ‎05-08-2012
My Device: PlayBook 64 Gb and Z10 LE
Accepted Solution

Cascade App

Hi to all.

I write an app with four page ..

I've two questions:

 

1 - is better one file.qml for every page in app or one file .qml for all App pages?

 

2 - In the second page I retrieve input from users an elaborate it. In page four I can't link the variable in page two for visualize the result.

For example: page2 -- C= A+B

                        page4 -- label = page2.C

What's the correct formula?

Sorry for my bad English .. :Helpsmilie:

_______________________________________________

If U like my post click on LIKE :smileywink:
BlackBerry Development Advisor (Retired)
gperry
Posts: 138
Registered: ‎05-11-2012
My Device: Developer

Re: Cascade App

It is better to have one QML file per page, this makes it easier to contol things as your app gets bigger.

 

As far as the scope for variables, I suspect you need to use the id's to control what data you are controlling.

 

The sample apps are a good example of organising your data.

 

Graham