[TIMOB-2185] Android: Option Dialog with Buttons Doesn't Differentiate Selection
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:58:21.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 M01 |
Components | Android |
Labels | android, feature, rplist |
Reporter | Don Thorp |
Assignee | Don Thorp |
Created | 2011-04-15T03:13:00.000+0000 |
Updated | 2011-04-17T01:58:21.000+0000 |
Description
When using buttons and options it needs to be possible to detect which one was selected.
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.(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...
(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...
Pass Titanium SDK version: 1.5.0 (12/01/10 09:30 ac7cfd8) KitchenSink, Android 1.6 Device, 2.1 Sim