Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15270] Android: Feature request to support picker in ListView

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelslistview, picker, template, timob
ReporterHenry David Spells III
AssigneeUnknown
Created2013-09-10T05:09:57.000+0000
Updated2018-02-28T20:04:19.000+0000

Description

Here is a sample template that would use the fontAwesome custom font and have 3 items. The three items would be a male icon, a female icon and both icons.
<Templates>
  <ItemTemplate id="headerTemplate" name="header">
      <Picker platform="android" bindId="gender" id="genderHeadId" onChange="genderChange" selectionIndicator="true">
        <PickerColumn id="genderColumn">
          <PickerRow title="\uf183\u0020\u004D\u0061\u006C\u0065"></PickerRow>
          <PickerRow title="\uf182\u0020\u0046\u0065\u006D\u0061\u006C\u0065"></PickerRow>
          <PickerRow title="\uf183\u002f\uf182\u0020\u0042\u006F\u0074\u0068"></PickerRow>
      </PickerColumn>
    </Picker>
  </ItemTemplate>
</Templates>

Comments

  1. Dwain Maxwell 2014-06-22

    Any update to when this feature will be implemented? I can currently bind a picker to the ListView with undesired effects on android. I programmatically add an array of picker rows to the columns property of the picker when binding. I set the 'selectionIndicator' property to true and have tried setting the 'bubbleParent' property to false but the picker will not show the row options in the ListView. On the first click nothing happens, on the second click I receive the following message in the console: InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed. Any ideas/info?
  2. Hans Knöchel 2015-03-07

    Does not work in iOS, too (since the 3.5.0.GA release on the device, simulator works fine)

JSON Source