Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Highlighted
Developer
Developer
Posts: 46
Registered: ‎02-22-2012
My Device: Developer
My Carrier: Various

SystemListDialog + selections

Is there any reasonably simple way of ensuring a SystemListDialog always has at least one item selected when user chooses to dismiss the dialog ?.

 

Our usage happens to be

i) list of items

ii) only 1 item can be selected (i.e. ListSelectionMode:Smiley Frustratedingle) at a time

iii) 1 item must be selected to make any sense

iv) we can seed 1 item to be selected at dialog creation.

 

The current implementation allows user to tap on currently selected item + cause that item to be de-selected - leaving a dialog with no selected items. They can then dismiss the dialog.

 

We can see various complicated ways to stop this, but think we must be missing something somewhere as this must be a pretty common requirement - user must choose one of the available options to meaningfully proceed.

 

 

 

BlackBerry Development Advisor
Posts: 57
Registered: ‎10-04-2012
My Device: developer
My Carrier: none

Re: SystemListDialog + selections

No, there is no simple way to do this.  I have raised a bug internally about this issue.

 

It is possible to do this with a custom Dialog, but I assume that you have already considered that.