Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28256] Android: Expose "selectionStyle" in new TableView/ListView (parity)

GitHub Issuen/a
TypeImprovement
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 9.3.0
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterHans Knöchel
AssigneeUnknown
Created2020-11-25T10:10:29.000+0000
Updated2020-11-25T10:10:39.000+0000

Description

Now that ripples work perfectly on Android, the property [selectionStyle](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ListItem-property-selectionStyle) could finally have parity, disabling the ripple / selection if necessary (e.g. for static list items that don't have interaction). Along with that, the following constants can be moved to the Ti.UI namespace: - Ti.UI.iOS.ListViewCellSelectionStyle.NONE - Ti.UI.iOS.ListViewCellSelectionStyle.GRAY The Ti.UI.iOS.ListViewCellSelectionStyle.BLUE constant can be deprecated, since iOS natively only used the gray one since a few years. GRAY could then be changed to DEFAULT, since thats indeed the default on iOS and Android.

Comments

No comments

JSON Source