[TIMOB-28256] Android: Expose "selectionStyle" in new TableView/ListView (parity)
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | Low |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | Release 9.3.0 |
| Fix Version/s | n/a |
| Components | Android |
| Labels | n/a |
| Reporter | Hans Knöchel |
| Assignee | Unknown |
| Created | 2020-11-25T10:10:29.000+0000 |
| Updated | 2020-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.
No comments