[TIMOB-800] Picker Fails on Android
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2011-04-15T02:36:42.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.6.0 M09 |
Components | Android |
Labels | android, feature, picker, release-1.6.0 |
Reporter | briankimjohnson (at gmail) |
Assignee | Don Thorp |
Created | 2011-04-15T02:36:41.000+0000 |
Updated | 2017-03-03T05:27:17.000+0000 |
Description
The basic picker causes a crash on android.
Code sample:
Taken from Kitchen Sink 1.2.1
var picker = Ti.UI.createPicker();
var data = [];
data[0]=Ti.UI.createPickerRow({title:'Bananas',custom_item:'b'});
data[1]=Ti.UI.createPickerRow({title:'Strawberries',custom_item:'s'});
data[2]=Ti.UI.createPickerRow({title:'Mangos',custom_item:'m'});
data[3]=Ti.UI.createPickerRow({title:'Grapes',custom_item:'g'});
picker.add(data);
picker is set to null. Emulator errors stating Cannot call add method on value 'null'
This ticket refers to https://appcelerator.lighthouseapp.com/projects/32238/tickets/808-implement-pickers-for-android"> https://appcelerator.lighthouseapp.com/projects/32238/tickets/808-i... ticket where picker are not implemented
Assigning to Don for triage, but I'm pretty sure Android has a picker now...
No longer valid.
Closing issue due to time passed and irrelevance of the ticket.