[TIMOB-26647] TiAPI: Add "longpress" event to ListView items
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android, iOS, TiAPI |
Labels | android, events, ios, listview, longpress |
Reporter | Rene Pot |
Assignee | Yordan Banev |
Created | 2018-12-12T11:16:15.000+0000 |
Updated | 2019-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.
No comments