I have the following code to display a list of clickable items (user can choose more than one item)
return new AlertDialog.Builder(this)
.setTitle("Users")
.setMultiChoiceItems(csUser, _selections,
new DialogSelectionClickHandler())
.setPositiveButton("OK", new DialogButtonClickHandler())
.create();
It works fine using a CharSequence[] csUser = {"User1", "User2", "User3"}......
But I want to fill it with a list of users within a Database,
Is there a way to dynamically add items to a CharSequence[] ?
Anyone kwows another alternative for this?
Thank you!