Shopify / FunctionalTableData

Declarative UITableViewDataSource implementation
MIT License
365 stars 30 forks source link

Adds support for a selectionBackgroundProvider in the cellStyle. #199

Closed desmondtsang closed 3 years ago

desmondtsang commented 3 years ago

The CellStyle already takes in a BackgroundViewProvider for the backgroundView property, but we can easily extend this idea to also take in a BackgroundViewProvider for the selectedBackgroundView property as well.

This will allow for custom views on selection of cells.