开发者

Blackberry: selecting multiple items

开发者 https://www.devze.com 2023-04-12 21:39 出处:网络
In blackberry, i am displaying a contact list with its associated phone numbers. Now i have to select multiple contacts. I c开发者_运维问答an select one contact at a time. But is it possible to select

In blackberry, i am displaying a contact list with its associated phone numbers. Now i have to select multiple contacts. I c开发者_运维问答an select one contact at a time. But is it possible to select multiple items without check boxes? How can we do this? Should i work on single touch event only and on every touch should add elements in an array. or is there any other way of doing it?


Extend your list functionality via adding "mark/unmark" action. Upon clicking on a list row the corresponding data block gets marked or unmarked. Use drawListRow() to draw "mark" symbol for every marked line.

And when it is time just collect all marked items from the list for further processing.

0

精彩评论

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

关注公众号