4.2.0 Scrolling and Field Focus Problem

Certain screens seem to have problems moving between fields on BlackBerry devices running 4.2.0, the original BlackBerry Pearl. This problem usually occurs when a user scrolls up or down and the focus skips a field or jumps to a different manager. This can also render itself by having a list which will not scroll (or only scroll down). The cause of this problem seems to be related to the ContentFlowManager and how the OS determines which field is above the current field. A simple fix is to switch to a VerticalFieldManager. If you are using a Container, then the default manager will be a ContentFlowManager. To change this add, the following line to the constructor of your container:

setContentManagerType( Container.CONTENT_MANAGER_VERTICAL );

This will make the segmented container use a VerticalFieldManager as the ContentManager instead of a ContentFlowFieldManager.

Labels

blackberry blackberry Delete
ui ui Delete
scrolling scrolling Delete
focus focus Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© 2011 Metova, Inc.