[TIMOB-1874] Android: AlertDialog Doesn't Indicate Cancel State on Back
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:57:25.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | Android |
Labels | android, defect, rplist |
Reporter | Don Thorp |
Assignee | Don Thorp |
Created | 2011-04-15T03:04:28.000+0000 |
Updated | 2011-04-17T01:57:25.000+0000 |
Description
See http://developer.appcelerator.com/helpdesk/view/44381">Helpdesk 44381
Gist of discussion
I pulled up the API Docs http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.AlertDialog-object"> http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.AlertDialog-object doesn't look like iPhone sends a close either. They do allow setting the index of the cancel and the event coming back is suppose to have cancel true/false
So how about when the back button is hit, I set cancel to true in the event and if there is an index on creation, set index to what you passed on creation, otherwise -1?
(from [d32737b27765342f210a8487a24d4b4e64f0519d]) [#1874 state:fixed-in-qa] added support for cancel index and cancel flag in event. http://github.com/appcelerator/titanium_mobile/commit/d32737b27765342f210a8487a24d4b4e64f0519d"> http://github.com/appcelerator/titanium_mobile/commit/d32737b277653...
1.4.2.5935b3 G1 (1.6) sim with 2.2