开发者

Achieving smooth scrolling in a BlackBerry app

I have developed a contacts screen in Blackberry. I have almost 40/50 contacts each being displayed in a HorizontalFieldManager on screen. All the HFM are 开发者_JAVA技巧on one parent VFM.

In one short I am able to see 5 records. My problem is when I scroll down to the 6th, 7th record the screen is not showing the record on which my focus is present. Then after reaching the 10th record I can see the records from 6th to 10th position.

I want a smooth scrolling, just like the one in Blackberry Messenger.


You can use ListField , you can implement ListFieldCallback interface and custom draw each row using drawListRow method.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜