-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize performance of SelectableLazyColumn (#240)
* Fix index out of bounds for items call in SelectableLazyColumn * Remove redundant index from SelectableLazyColumn items * Speed up scrolling in SelectableLazyColumn Search in List shouldn't be performed inside Composable function * Speed up selection in SelectableLazyColumn * Rewrite key events handling, so it will require less iterations * Rewrite multiple selection, speeding it up Also, fix DefaultSelectableLazyColumnKeyActions check for multiple selection * Cleanup code for lint checks * Fix events handling * Cleanup after merge * Don't update state in loop * Fix lint checks
- Loading branch information
Showing
6 changed files
with
406 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.