Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to restrict the scroll to ListField itself instead of scrolling the whole screen in Blackberry

I have implemented a customized ListField with some LabelFields. Here is the screenshot. enter image description here

The problem is when I scroll the ListField, the whole scroll getting scrolled. Like this Screenshot..

enter image description here

I want the headerfield and the Field between header and the ListField to be stationary and only the listfield get scrolled. How can I achieve this?..Please help me...

like image 311
Aju Avatar asked Oct 09 '22 11:10

Aju


1 Answers

Use setBanner(Field field) to create an area at the top of your screen which will always be visible.

By the way, you almost certainly don't need a 'Back' button in the top bar (like you would on an iPhone app) because all BlackBerrys have a physical back button for this purpose. The default action for it is to close the current screen (by popping it off the screen stack) and returning to the previous screen or closing the app if there are no more screens.

like image 92
donturner Avatar answered Nov 01 '22 12:11

donturner