[escher] SelectableTableView: when reloading data, we temporary deselect

the table. We warn the SelectableTableViewDelegate that the selection
change is 'within a temporary selection change' when notifying it of the
change.
This commit is contained in:
Émilie Feral
2019-04-26 14:48:31 +02:00
parent 138587ee8e
commit 2217eebaec
20 changed files with 48 additions and 34 deletions

View File

@@ -52,7 +52,7 @@ public:
void willDisplayCellAtLocation(HighlightCell * cell, int i, int j) override;
// SelectableTableViewDelegate
void tableViewDidChangeSelection(SelectableTableView * t, int previousSelectedCellX, int previousSelectedCellY) override;
void tableViewDidChangeSelection(SelectableTableView * t, int previousSelectedCellX, int previousSelectedCellY, bool withinTemporarySelection) override;
// TextFieldDelegate
bool textFieldShouldFinishEditing(TextField * textField, Ion::Events::Event event) override;