Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26647] TiAPI: Add "longpress" event to ListView items

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid, iOS, TiAPI
Labelsandroid, events, ios, listview, longpress
ReporterRene Pot
AssigneeYordan Banev
Created2018-12-12T11:16:15.000+0000
Updated2019-05-29T20:50:27.000+0000

Description

Right now on ListView the only way to interact with Listview (items) are itemclick events. However, it would be great if we can add longpress event as well. Adding an event like this is great for UX purposes where users can hold an item and do certain things without having to go into a detail view, or expand the item etc. *Expected result* Payload of the longpress event should be the same as the current itemclick event. https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ListView-event-itemclick So it should contain the section, sectionIndex, itemIndex at minimum, but preferably also the other payload items provided with itemClick.

Comments

No comments

JSON Source