Uploaded image for project: 'Alloy'
  1. Alloy
  2. ALOY-1737

Alloy: ListView dataBinding creates deprecated setItems call

    Details

    • Story Points:
      1
    • Sprint:
      2020 Sprint 16

      Description

      When using Alloy ListView databinding it will produce code with

      setItems()

      and therefore produce a "using deprecated setter" warning:

      https://github.com/appcelerator/alloy/blob/6c311743af90da438f9c30bfdbe29275247daa51/Alloy/commands/compile/parsers/Ti.UI.ListSection.js#L163

      <ListView id="lst_parks" defaultItemTemplate="default" >
      		<Templates>
      			<ItemTemplate name="default">
      			</ItemTemplate>
      		</Templates>
      		<ListSection dataCollection="parks"/>
      	</ListView>
      

        Attachments

          Activity

            People

            • Assignee:
              eharris Ewan Harris
              Reporter:
              michael Michael Gangolf
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration