It's good to have a lot of objects on screen for an application?

Hello

I need to make a request that has the following requirements:

  1. The application begins with a screen that should be a list of, say, supermarkets.
  2. When a user selects a supermarket, the application should display a list of the departments of this supermarket.
  3. Select a Department from the list should show a list of products in the Department.
  4. Choose a product should show the details of the product.
  5. I need to display a bar of tabs at the bottom.

I implemented the tab bar by using this article:

http://supportforums.BlackBerry.com/T5/Java-development/create-tabbed-view-screens/Ta-p/444969

The article mentions:

The basic approach is to use a set of managers to control the sets of fields that appear on the screen when a tab is selected. Tabs are implemented in the form of LabelFields Focus, with a FocusChangeListener make the Manager switch when the focus changes.

So, apparently, I have two choices:

  1. Whenever a ListField item is selected, I remove this screen ListField handler and add another Manager with the ListField later.
  2. Whenever a ListField item is selected, I take the element selected as a parameter and push a new screen with the subsequent ListField. In this case, I'll end up having a lot of screens, before a screen by ListField. Perhaps more screens for other features.

Where should I go for, that is the question.

Much obliged.

If you already have the screen tabs I suggest you to use and replace managers.

You can also use a number of screens without problems, but the replacement is usually more elegant

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • MY SKYPE CAN'T SEE MY WEBCAM

    my Skype a problem of one whenever it does not find my website of I want cam as me Geek in video,

  • How to change the input on Satellite Pro M70 keyboard language?

    Hi guys,.I am facing problem with laptop M70-122 key boards. Keys @ and "are interchangeable. Printing on keyboards are same as a normal PC. But when I press the SHIFT + 2 ket I get "instead of @ and vice versa." How can I solve this problem.

  • Error BTTray: Unable to start Bluetooth Stack Service

    I have an Envy 17 3D (product number: LV045UA #ABA). Recently, shortly after startup, I get an error to the effect that there is a BTTray error as it is unable to start bluetooth stack service. I use a Bluetooth Logitech mouse and the mouse continues

  • HP ENVY 15 Notebook PC: hp simplepass identity protection software has no fingerprints in playback option

    Once, I grab my laptop with the recovery options. After that I install the rest of hp as software valid s/w audio driver graphic driver SimplePass etc. and also put to day but always simplepass shows no reader of fingerprints and also checked in the

  • CVI

    Dear experts, I adopted with written cvi2013 of software, and although I expirience with other development systems, but not with Labview, CVI, I could not solve the problem of linker below: options.c #include "radioGroup.h" / / "custctrl\radioGroup.h