开发者

BlackBerry - Multiple Screens or Single Screen with Content Manager?

开发者 https://www.devze.com 2022-12-27 01:59 出处:网络
I\'ve seen projects which use many screens each one for different layout and functionality. I\'ve seen projects with only one screen (like wizard workflow) where content is chang开发者_运维问答ed on

I've seen projects which use many screens each one for different layout and functionality.

I've seen projects with only one screen (like wizard workflow) where content is chang开发者_运维问答ed on user interaction (and this seems to be logical to use single screen in wizards).

But also I've seen projects (apps like game or messenger or phone settings utility) which use single screen for different functionalities.

I can see such advantages of having single screen in app:

  • keep same decoration design and menu or toolbar (which may be also achieved with inheritance)
  • keep single screen in ui stack (which may be achieved by pop/push screen)
  • easy to handle data over application

Can you tell other advantages/disadvantages of single screen app?

When its better to use this approach?

Thank you!

This question on BlackBerry Support Community Forums


For us it depends on the screen. We have some screens that achieve common goals such as a popup with a list control or a progress bar. Most of our screens are separated by functionality. I think that helps to prevent things from being convoluted.

We do reuse the callbacks for list controls and tree fields etc where the functionality of the particular control is almost always the same.

I have had some of the same confusion, many people suggest using single classes to limit the footprint on the device, but others say with newer devices it doesn't much matter.

0

精彩评论

暂无评论...
验证码 换一张
取 消