-
Notifications
You must be signed in to change notification settings - Fork 727
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Follow-up for visibility tracking : adapter data changes (#575)
* Fix for delete/moved/inserted * Fix the insert / delete from the adapter * Fix the moved within the adapter * Disable logs by default * remove checkstyle warning * fix javadoc in annotations * Optimization on detach event, only data changed require to re-process all children * Also shift the items between the move from-to. With tests. * Optimize the data changed flag, will set to true only in case visible data get updated * Reset visibility item only when the adapter position is valid and changed * Remove system.out log * Add explicit clearVisibilityStates() in api so user is in control * Remove extra `recyclerView.getChildViewHolder(child)`
- Loading branch information
Showing
5 changed files
with
449 additions
and
54 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
Oops, something went wrong.