开发者

Handle left right trackball swipe in blackberry

开发者 https://www.devze.com 2023-02-19 20:23 出处:网络
How do I write code to handle event that are fir开发者_C百科ed when the track ball in a black berry app is swiped left and right? The navigationMovement method of the selected field is called when suc

How do I write code to handle event that are fir开发者_C百科ed when the track ball in a black berry app is swiped left and right?


The navigationMovement method of the selected field is called when such an event occurs. You can override it an place your logic there. The first parameter helps you determine what kind of movement it is(left/right) :

dx - Magnitude of navigational motion: negative for a move left and postive for a move right.

0

精彩评论

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