Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2185] Android: Option Dialog with Buttons Doesn't Differentiate Selection

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:58:21.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0 M01
ComponentsAndroid
Labelsandroid, feature, rplist
ReporterDon Thorp
AssigneeDon Thorp
Created2011-04-15T03:13:00.000+0000
Updated2011-04-17T01:58:21.000+0000

Description

When using buttons and options it needs to be possible to detect which one was selected.

Comments

  1. Don Thorp 2011-04-15

    Add a new event property button which signifies if the selected item was a button or an option in an option dialog. This will be a part of all Android dialog events.

  2. Don Thorp 2011-04-15

    (from [2a5111ff40128dd3c71c1fc854b554b3c6331638]) [#2185] new property button will be set to true if index belongs to a button, otherwise false. Needs to be ported to master. http://github.com/appcelerator/titanium_mobile/commit/2a5111ff40128dd3c71c1fc854b554b3c6331638"> http://github.com/appcelerator/titanium_mobile/commit/2a5111ff40128...

  3. Don Thorp 2011-04-15

    (from [994ab13873847729b745d4adede4530793435914]) [#2185 state:fixed-in-qa] merge feature over, extended options dialog example for Android's ability to have buttons as well as the options. Documented new button property on the click event. It's fired for all dialogs but only really makes sense in OptionDialog. https://github.com/appcelerator/titanium_mobile/commit/994ab13873847729b745d4adede4530793435914"> https://github.com/appcelerator/titanium_mobile/commit/994ab1387384...

  4. Matt Schmulen 2011-04-15

    Pass Titanium SDK version: 1.5.0 (12/01/10 09:30 ac7cfd8) KitchenSink, Android 1.6 Device, 2.1 Sim

JSON Source