Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
11-30-2012 10:15 AM
I have a tabbed pane, with a tab for each part of my app.
I'm getting confused with peek.
1. Is there a way, for when a user clicks from Tab A to Tab B, they can peek back to Tab A?
2. Also I was wondering, in Tab A I have a page with graphics on then I want to add in a list view when a user clicks a button. How should I display this list view? Should everything in Tab A be on a navigation pane and iI pop things in and out? Or should I use a sheet?
3. Also with a tabbed pane, when the user is not viewing Tab B, should I delete Page B that sits inside Tab B and reinitiate it later? Or should I just intiate all of each Tabs pages at the start of the app?
11-30-2012 10:25 AM
you cannot peek from TAB B to TAB A - think of them sitting side-by-side at the same level
to have NavigationPane on each Tab is OK - I'm doing the same.
using a NavigationPane and Pages on top you can peek back
you should not initialize all of your QML stuff at start up of your app.
only what's visible at first
then its up to you if you always create /destroy the content of a TAB. I have 2 Tabs where I know that the user will most time switch between them, so they're always loaded. Another TAB only seldom used I create / destroy dynamically
so there's not THE one and only answer HowTo do this kind of stuff. it depends from your app and usecases.
you can also implement a learning system and monitor how often Tabs are clicked and decide ...
11-30-2012 10:46 AM
Thanks for teh detailed reply.
Just one question about NavigationPane.
How do you implement this as well as having tabs?
I set my tabs by using:
But to set a navigationpane, the docs say:
Surely this will overide my tabs, how do I have bot at one - a navigation pane inside a page that is dispalyed from a tab?
11-30-2012 11:24 AM
you have to start with a TabbedPane
then the content of a Tab will be a NavigationPane. To make it easy you should use an extra QML file for this
11-30-2012 11:31 AM