You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Ingo Bürk (JIRA)" <ji...@apache.org> on 2012/11/28 17:27:05 UTC

[jira] [Created] (CB-1945) List Dialog

Ingo Bürk created CB-1945:
-----------------------------

             Summary: List Dialog
                 Key: CB-1945
                 URL: https://issues.apache.org/jira/browse/CB-1945
             Project: Apache Cordova
          Issue Type: New Feature
            Reporter: Ingo Bürk
            Priority: Minor


It would be nice to have a "list dialog" (http://developer.android.com/guide/topics/ui/dialogs.html, Section "Adding a list") besides the alert and confirm dialogs.
To not make it too complicated I would probably go with two methods, one for "simple lists" and one for lists with multiple choice and checkboxes and additional buttons (as on the page above).

Signatures could be something along the lines of

<MethodName1>(entries, title, callbackContext)
<MethodName2>(entries, title, buttonLabels, callbackContext)

wherein the callback of the first one gets the selected item and the second one maybe an object containing the pressed buttons and the selected items?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira