Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19096] iOS: ListView new `rowAction` event should be `rowaction` (or `editaction`) like other events

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2015-08-19T09:18:13.000+0000
Affected Version/sRelease 4.1.0
Fix Version/sRelease 5.0.0
ComponentsiOS
Labelseventlistener, listview
ReporterFokke Zandbergen
AssigneeEric Merriman
Created2015-06-29T13:03:50.000+0000
Updated2017-03-20T18:10:08.000+0000

Description

The new [rowAction](https://appcelerator.github.io/appc-docs/latest/#!/api/Titanium.UI.ListView-event-rowAction) is camel-cased and though I love that, we have been using all lowercase and we should not mix conventions. So the event should be rowaction, like the new scrollstart and scrollend on the same ListView API. It might be even better to name it editaction since that is in line with the Listitem.editActions, ListView.canEdit, ListView.canEdit and ListView.editting property names.

Comments

  1. Christopher Williams 2015-06-29

    cc [~cng]
  2. Fokke Zandbergen 2015-07-02

    [~ingo] if we don't change this now, it will be only more confusing when we change it later. For the same reason I'm happy we could change dividerHeight (TIMOB-19139).
  3. Chee Kiat Ng 2015-08-19

    PR Here: https://github.com/appcelerator/titanium_mobile/pull/7044
  4. Chee Kiat Ng 2015-08-19

    Approved and merged.
  5. Bert Grantges 2015-09-16

    so this is a breaking change for anyone that's implemented this before 5.0. We should deprecate but continue to support 'rowAction' for at least one release and properly message the customers before removing support for it.
  6. Lee Morris 2017-03-20

    Closing ticket as fixed.

JSON Source