Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8826] BlackBerry: Implement UI.Picker

GitHub Issuen/a
TypeStory
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-06-28T01:44:18.000+0000
Affected Version/sn/a
Fix Version/sRelease 2.1.0, Sprint 2012-08 BB
ComponentsBlackBerry
Labelsn/a
ReporterFrancois Boisvert
AssigneePedro Enrique
Created2012-04-20T11:23:36.000+0000
Updated2017-03-02T22:12:29.000+0000

Description

Attachments

FileDateSize
picker.patch2012-06-06T07:29:47.000+000013230

Comments

  1. Harutyn Movsisyan 2012-06-06

    Attached picker.patch file which contains implementation of picker object with some (type, width, height, top, left) properties. Because Cascades doesn't support generic Picker module (only Date/Time picker), we assume that when in JS we have createPicker, it should create DateTimePicker by default. By the time the patch was created, there was following issue issue: when we initialize value property in the JS, the V8 didn't make call back for that property e.g.: var picker = Ti.UI.createPicker({ type:Ti.UI.PICKER_TYPE_DATE, value:new Date(2014,3,12) }); and the other properties like, minDate, maxDate etc. which have JS Date had the same issue
  2. Tatyana Petrenko 2012-06-19

    Harut, please list here all picker types that this control supports. Mention which ones you were able to implement, which ones can be done using combo box control (or some other suitable Cascades control) and which ones can only be done trough creation of a custom control.
  3. Harutyn Movsisyan 2012-06-20

    Using BB DateTimePicker, I was able to implement following types of picker: PICKER_TYPE_DATE PICKER_TYPE_DATE_AND_TIME PICKER_TYPE_TIME for the PICKER_TYPE_PLAIN picker, we can use BB DropDown control consists of an expandable list of options. It is look like a picker, but the functionality is the same. PICKER_TYPE_DOWN_COUNT_PICKER picker type is crashing on android, according to the documentation it is a picker with a countdown timer appearance, showing hours and minutes. BB doesn't support suck kind of control, but we should be able to implement it as custom one.
  4. Harutyn Movsisyan 2012-06-28

    Following are implemented in the scope of this task: properties: value, minDate, maxDate, type interface: setters and getters for above properties event: change (only type and value properties) inherited: top, left, width, height
  5. Lee Morris 2017-03-02

    Closing ticket as Blackberry is no longer supported.

JSON Source